cleanup
[tests.git] / system / run_log
index e170463..08833aa 100755 (executable)
@@ -14,7 +14,9 @@ rm -f logs/$runlast; (cd logs; ln -s $runfile $runlast)
 rm -f logs/$tracelast; (cd logs; ln -s $tracefile $tracelast)
 python -u TestMain.py -t logs/$tracefile "$@" &> logs/$runfile ; retcod=$?
 cat logs/$runfile
-[ "$retcod" == 0 ] && touch logs/success
+case "$retcod" in 
+    0) touch logs/success ;;
+    2) touch logs/warning ;;
+esac
 
-echo "run_log is exiting" $retcod
 exit $retcod