summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/insserv/files/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/insserv/files/run-ptest')
-rw-r--r--meta/recipes-devtools/insserv/files/run-ptest17
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
3basedir=$(dirname $0)
4. $basedir/common
5
6output() {
7 if [ $? -eq 0 ]; \
8 then echo "PASS: $i"; \
9 else echo "FAIL: $i"; \
10 fi;
11}
12
13for i in test_simple_sequence test_undetected_loop; \
14 do $i &>/dev/null ; output; \
15done
16
17rm -rf ${tmpdir}