Browse Source

tests: default to 'sid' codename for 'unstable'

Git-Dch: Ignore
tags/debian/0.9.15.1
David Kalnischkies 7 years ago
parent
commit
bf9e744761
2 changed files with 7 additions and 2 deletions
  1. +6
    -1
      test/integration/framework
  2. +1
    -1
      test/integration/test-ubuntu-bug-784473-InRelease-one-message-only

+ 6
- 1
test/integration/framework View File

@@ -662,7 +662,12 @@ compressfile() {
}

# can be overridden by testcases for their pleasure
getcodenamefromsuite() { echo -n "$1"; }
getcodenamefromsuite() {
case "$1" in
unstable) echo 'sid';;
*) echo -n "$1";;
esac
}
getreleaseversionfromsuite() { true; }
getlabelfromsuite() { true; }



+ 1
- 1
test/integration/test-ubuntu-bug-784473-InRelease-one-message-only View File

@@ -35,5 +35,5 @@ testequal "Package files:
100 ${ROOTDIR}/rootdir/var/lib/dpkg/status
release a=now
500 file:${ROOTDIR}/aptarchive/ unstable/main i386 Packages
release a=unstable,n=unstable,c=main
release a=unstable,n=sid,c=main
Pinned packages:" aptcache policy

Loading…
Cancel
Save