]> git.stg.codes - stg.git/blobdiff - functest/do.sh
Beautified test output.
[stg.git] / functest / do.sh
index 277a4b3510d5bf0071f984d6d69b44f5598f08cb..a007aa9bd8d6fd9fbec37ecc86a325a926355010 100755 (executable)
@@ -35,16 +35,12 @@ then
     printf "Failed.\n"
     exit -1
 else
-    printf "Ok.\nTesting... "
+    printf "Ok.\n"
 fi
+
 ./test.sh "$DIR" # >> "$LOGFILE" 2>&1
-if [ "$?" != "0" ]
-then
-    printf "Failed.\n"
-    exit -1
-else
-    printf "Ok.\nCleaning up... "
-fi
+
+printf "Cleaning up... "
 
 $RM -rf $DIR
 if [ "$?" != "0" ]