Don't print test headers unless the test is about to run.
authorMartin Pool <mbp@samba.org>
Thu, 16 Aug 2001 09:35:21 +0000 (09:35 +0000)
committerMartin Pool <mbp@samba.org>
Thu, 16 Aug 2001 09:35:21 +0000 (09:35 +0000)
testsuite/master.test

index 446263c..8c34ee8 100755 (executable)
@@ -20,9 +20,6 @@ cd "$testdir"
 
 for testbase in $test_names
 do
-    echo "------------------------------------------------------------"
-    echo "----- $testbase running"
-
     testscript="$testbase.test"
     if test \! -f "$testscript" 
     then
@@ -30,6 +27,9 @@ do
        continue
     fi
 
+    echo "------------------------------------------------------------"
+    echo "----- $testbase running"
+
     if sh $testscript
     then
        echo "----- $testbase completed succesfully"