summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/insserv/files/run-ptest
blob: 495d1551c2f3d937b3ce1b386092f45c4d4fb45f (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 ; output; \
done

rm -rf ${tmpdir}
OpenPOWER on IntegriCloud