1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- #! /bin/sh
- . test-init.sh
- echo TESTS = one.test two.test > Makefile.am
- . tap-setup.sh
- cat > one.test <<'END'
- #!/bin/sh
- echo '1..0 # SKIP'
- exit 1
- END
- cat > two.test <<'END'
- #!/bin/sh
- echo '1..0'
- exit 22
- END
- chmod a+x one.test two.test
- run_make -O -e FAIL check
- count_test_results total=4 pass=0 fail=0 xpass=0 xfail=0 skip=2 error=2
- grep '^ERROR: one\.test - exited with status 1$' stdout
- grep '^ERROR: two\.test - exited with status 22$' stdout
- :
|