+ file="${candidate%.out}"
+ name="$(echo ${file#*-} | tr _ \ )"
+
+ if test -e "$file.out"
+ then
+ ./cmddiff "$file.out"
+ else
+ color 33
+ echo "not ok $test_count - $name # TODO"
+ color 0
+ continue
+ fi
+
+ if test 0 != $?
+ then
+ case "$name" in
+ *' #TODO')
+ color 33
+ ;;
+ *)
+ fail_count=$((fail_count+1))
+ color 1\;31
+ esac
+
+ printf 'not '
+ fi