123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- #! /bin/sh
- . test-init.sh
- . tap-setup.sh
- cat > all.test <<END
- 1..5
- ok 1
- not ok 2
- ok
- not ok
- ok 5
- END
- run_make -O -e FAIL check
- count_test_results total=5 pass=3 fail=2 xpass=0 xfail=0 skip=0 error=0
- $FGREP ': all.test' stdout | sed "s/[$sp$tab]*$//" > got
- cat > exp <<END
- PASS: all.test 1
- FAIL: all.test 2
- PASS: all.test 3
- FAIL: all.test 4
- PASS: all.test 5
- END
- cat exp
- cat got
- diff exp got
- :
|