mirror of
https://github.com/aantron/better-enums.git
synced 2025-12-06 08:46:42 +08:00
Not assuming bash in testing scripts.
This commit is contained in:
parent
3c3733c700
commit
07fef34465
@ -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 ; \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user