1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- #! /bin/sh
- . test-init.sh
- . tap-setup.sh
- cat > all.test <<END
- 1..6
- ok 1
- not ok 2
- ok 3
- not ok 4
- ok 5
- not ok 6
- END
- run_make -O -e FAIL check
- count_test_results total=6 pass=2 fail=2 xpass=0 xfail=1 skip=1 error=0
- cat > exp << 'END'
- PASS: all.test 1
- FAIL: all.test 2
- PASS: all.test 3
- FAIL: all.test 4
- SKIP: all.test 5
- XFAIL: all.test 6
- END
- $FGREP ': all.test' stdout > got
- cat exp
- cat got
- diff exp got
- :
|