date/test_fail.sh
Darrell Wright 748a1fd5a9 Updated testing so that failures of the should fail tests will compile
but will return 1 in testing if they actually built
2017-11-26 23:22:29 -05:00

11 lines
73 B
Bash
Executable File

#!/bin/bash
echo $1
eval $1
if [ $? -eq 0 ]; then
exit 0;
fi
exit 1;