2017-09-08 00:15:12 +02:00
|
|
|
#!/cmd/rc
|
|
|
|
runner=$0
|
|
|
|
test = `{echo $runner|sed 's/.runner//'}
|
|
|
|
test_output = /tmp/output-`{basename $test}
|
|
|
|
|
|
|
|
if ( test -e $test_output) rm $test_output
|
|
|
|
|
2017-09-11 01:01:11 +02:00
|
|
|
$test > $test_output
|
2017-09-08 00:15:12 +02:00
|
|
|
if ( cat $test_output | grep 'FAIL' > /dev/null ) {
|
|
|
|
cat $test_output
|
|
|
|
echo FAIL
|
|
|
|
exit FAIL
|
|
|
|
}
|
|
|
|
echo PASS
|
|
|
|
exit PASS
|