]> xenbits.xensource.com Git - osstest.git/commitdiff
cr-daily-branch: when looking for tested revision for reporting during baseline test...
authorIan Jackson <iwj@woking.cam.xci-test.com>
Fri, 22 Feb 2013 12:32:48 +0000 (12:32 +0000)
committerIan Jackson <iwj@woking.cam.xci-test.com>
Fri, 22 Feb 2013 12:32:48 +0000 (12:32 +0000)
cr-daily-branch

index 2f536c0e5f957bdbdda4dc9b520a96ce2d1efa59..7ee5d04b8bafe3af57f7dbd33157f292523cccc8 100755 (executable)
@@ -89,10 +89,10 @@ if [ "x$testedflight" = x ]; then
         wantpush=false
         skipidentical=false
         force_baseline=true
-        OLD_REVISION=`check_tested --print-revision=$tree`
-        if [ "x$OLD_REVISION" = x ]; then
-                OLD_REVISION="$FORCE_REVISION"
-        fi
+       tested_revision=`check_tested --print-revision=$tree`
+       if [ "x$tested_revision" != x ]; then
+               OLD_REVISION="$tested_revision"
+       fi
 fi
 
 if [ "x$REVISION_XEN" = x ]; then