Not assuming bash in testing scripts.

This commit is contained in:
Anton Bachin 2015-07-02 10:56:37 -05:00
parent 3c3733c700
commit 07fef34465

View File

@ -107,7 +107,7 @@ run-tests :
EXAMPLE=$$(basename $$FILE | sed s/\.exe$$// | sed s/^example-//) ; \
$$FILE | sed 's/\r$$//' | cmp - expect/$$EXAMPLE ; \
RESULT=$$? ; \
if (( $$RESULT )) ; \
if [ $$RESULT -ne 0 ] ; \
then \
echo \'$$FILE\' produced bad output ; \
exit $$RESULT ; \