aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/insserv/files/run-ptest
blob: 4a6da3030aeddcc1eaf4681f60797074667912b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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}