18 lines
261 B
Plaintext
18 lines
261 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
basedir=$(dirname $0)
|
||
|
. $basedir/common
|
||
|
|
||
|
output() {
|
||
|
if [ $? -eq 0 ]; \
|
||
|
then echo "PASS: $i"; \
|
||
|
else echo "FAIL: $i"; \
|
||
|
fi;
|
||
|
}
|
||
|
|
||
|
for i in test_simple_sequence test_undetected_loop; \
|
||
|
do $i >/dev/null 2>&1; output; \
|
||
|
done
|
||
|
|
||
|
rm -rf ${tmpdir}
|