summaryrefslogtreecommitdiff
path: root/test/integration/framework
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2013-12-10 18:23:47 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2014-01-15 15:25:00 +0100
commitbf9e744761f605e537878b7524ea9023493e4c5b (patch)
tree024132ad6d350572a2f748d205a6203ab57c4972 /test/integration/framework
parentf7c7f4821e8050b6185c652215e639cbc0089769 (diff)
tests: default to 'sid' codename for 'unstable'
Git-Dch: Ignore
Diffstat (limited to 'test/integration/framework')
-rw-r--r--test/integration/framework7
1 files changed, 6 insertions, 1 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; }