]> xenbits.xensource.com Git - people/aperard/osstest.git/commitdiff
make-flight: Make debian_suite always contain a suite
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 11 Apr 2016 15:25:21 +0000 (16:25 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 11 Apr 2016 16:39:03 +0000 (17:39 +0100)
The setting of the suite to "sid" in the snapshot case now occurs in
the case at the top of the script.

This means that gsuite always contains the actual suite name, and the
special cases which set it to sid can be removed.

No functional change.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
make-distros-flight

index 060eda303ce49ef42668b91c1aea1bde583e6e2b..fa5b71bb707490f213006a0e052415c0b3312e23 100755 (executable)
@@ -34,6 +34,7 @@ defsuite=`getconfig DebianSuite`
 defguestsuite=`getconfig GuestDebianSuite`
 
 case $branch in
+  distros-debian-snapshot) debian_suite=sid ;;
   distros-debian-*) debian_suite=${branch#distros-debian-} ;;
   *)                echo $branch >&2; exit 1               ;;
 esac
@@ -68,7 +69,6 @@ test_do_one_netboot () {
 
   if [ $branch = distros-debian-snapshot ] ; then
       diurl="http://d-i.debian.org/daily-images/$domU/daily/netboot"
-      gsuite=sid
       gver=daily
   else
     #local mirror="http://`getconfig DebianMirrorHost`/`getconfig DebianMirrorSubpath`"
@@ -175,7 +175,6 @@ test_matrix_do_one () {
     test_do_one_netboot
 
     if [ $branch = distros-debian-snapshot ]; then
-        gsuite=sid
         for cd in current weekly ; do
           case ${domU}_${gsuite} in
             armhf_*) continue;; # No iso targets for armhf