Andrew Geissler | 6aa7eec | 2023-03-03 12:41:14 -0600 | [diff] [blame^] | 1 | #!/bin/sh |
| 2 | |
| 3 | # Define cpio test work dir |
| 4 | WORKDIR=/usr/lib/cpio/ptest/tests/ |
| 5 | |
| 6 | # Run test |
| 7 | cd ${WORKDIR} |
| 8 | ./atconfig ./atlocal ./testsuite |
| 9 | |
| 10 | ./testsuite 2>&1 | grep -E '[0-9]{1,3}: ' | sed -e 's/^.....//' -e '/[ok]$/s/^/PASS: /;/FAILED (.*)/s/^/FAIL: /;/skipped (.*)/s/^/SKIP: /;/expected failure/ s/^/PASS: /;/UNEXPECTED PASS/s/^/FAIL: /' -e 's/ok$//g' -e 's/FAILED.*//g' -e 's/skipped.*//g' -e 's/expected failure.*//g' -e 's/UNEXPECTED PASS.*//g' |