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