diff mbox

[OSSTEST,3/6] make-distros-flight: Key "snapshot" special case off $branch

Message ID 1460392641-7060-4-git-send-email-ian.jackson@eu.citrix.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ian Jackson April 11, 2016, 4:37 p.m. UTC
This eliminates two places where $debian_suite is expected to contain
"snapshot" rather than a suite.

We want to change debian_suite to always contain a real suite, so that
we can fold its uses in to other suite variables.

No functional change for existing branches.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
---
 make-distros-flight |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/make-distros-flight b/make-distros-flight
index 9b4684d..060eda3 100755
--- a/make-distros-flight
+++ b/make-distros-flight
@@ -66,7 +66,7 @@  test_matrix_branch_filter_callback () {
 test_do_one_netboot () {
   local diurl=
 
-  if [ x$gsuite = xsnapshot ] ; then
+  if [ $branch = distros-debian-snapshot ] ; then
       diurl="http://d-i.debian.org/daily-images/$domU/daily/netboot"
       gsuite=sid
       gver=daily
@@ -174,7 +174,7 @@  test_matrix_do_one () {
     gsuite=$debian_suite
     test_do_one_netboot
 
-    if [ $debian_suite = "snapshot" ]; then
+    if [ $branch = distros-debian-snapshot ]; then
         gsuite=sid
         for cd in current weekly ; do
           case ${domU}_${gsuite} in