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
+echo run_log exit_code $retcod
exit $retcod