From c527fd1f14c27855a37f2e8ac5346ce8d940ced2 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Thu, 16 Oct 2014 03:05:19 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- meta/recipes-devtools/insserv/files/run-ptest | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta/recipes-devtools/insserv/files/run-ptest (limited to 'meta/recipes-devtools/insserv/files/run-ptest') 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 @@ +#!/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} -- cgit v1.2.3-54-g00ecf