diff options
author | David Kalnischkies <david@kalnischkies.de> | 2013-12-10 18:23:47 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-01-15 15:25:00 +0100 |
commit | bf9e744761f605e537878b7524ea9023493e4c5b (patch) | |
tree | 024132ad6d350572a2f748d205a6203ab57c4972 | |
parent | f7c7f4821e8050b6185c652215e639cbc0089769 (diff) |
tests: default to 'sid' codename for 'unstable'
Git-Dch: Ignore
-rw-r--r-- | test/integration/framework | 7 | ||||
-rwxr-xr-x | test/integration/test-ubuntu-bug-784473-InRelease-one-message-only | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/test/integration/framework b/test/integration/framework index 8aacb7456..60a8167fa 100644 --- a/test/integration/framework +++ b/test/integration/framework @@ -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; } diff --git a/test/integration/test-ubuntu-bug-784473-InRelease-one-message-only b/test/integration/test-ubuntu-bug-784473-InRelease-one-message-only index e9d684309..50ca2bf57 100755 --- a/test/integration/test-ubuntu-bug-784473-InRelease-one-message-only +++ b/test/integration/test-ubuntu-bug-784473-InRelease-one-message-only @@ -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 |