diff options
Diffstat (limited to 'meta/recipes-devtools/insserv/files/run-ptest')
-rw-r--r-- | meta/recipes-devtools/insserv/files/run-ptest | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-devtools/insserv/files/run-ptest b/meta/recipes-devtools/insserv/files/run-ptest new file mode 100644 index 0000000000..495d1551c2 --- /dev/null +++ b/meta/recipes-devtools/insserv/files/run-ptest | |||
@@ -0,0 +1,17 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | basedir=$(dirname $0) | ||
4 | . $basedir/common | ||
5 | |||
6 | output() { | ||
7 | if [ $? -eq 0 ]; \ | ||
8 | then echo "PASS: $i"; \ | ||
9 | else echo "FAIL: $i"; \ | ||
10 | fi; | ||
11 | } | ||
12 | |||
13 | for i in test_simple_sequence test_undetected_loop; \ | ||
14 | do $i &>/dev/null ; output; \ | ||
15 | done | ||
16 | |||
17 | rm -rf ${tmpdir} | ||