]> code.ossystems Code Review - openembedded-core.git/commitdiff
valgrind/oprofile/systemd: no bashism in run-ptest
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 27 Aug 2014 15:57:09 +0000 (08:57 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Aug 2014 14:11:11 +0000 (15:11 +0100)
There is no bashism in the scripts, so use /bin/sh, and add /bin/sh
interpreter for systemd's run-ptest.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd/run-ptest
meta/recipes-devtools/valgrind/valgrind/run-ptest
meta/recipes-kernel/oprofile/oprofile/run-ptest

index 2f6bd93a5b4543e071e4fbecf6dccc57e3381262..a2d61c2894a588b1301f1cf2ce020357ef9ce963 100644 (file)
@@ -1,3 +1,5 @@
+#!/bin/sh
+
 tar -C test -xJf test/sys.tar.xz
 make test/rules-test.sh.log
 make test/udev-test.pl.log
index 7d0584ada90d5b06c2d55c8c0924c97d21fda5a3..f9a72ec4a9fb7055f14cdee09aa2c1d6909542ef 100755 (executable)
@@ -1,4 +1,5 @@
-#!/bin/bash
+#!/bin/sh
+
 # run-ptest - 'ptest' test infrastructure shell script that
 #   wraps the valgrind regression script vg_regtest. 
 #   Must be run in the /usr/lib/valgrind/ptest directory. 
index 583ee1b8a80dc73fea7a0a976232300a83ce7c41..4814be652a7b47c88bf3f897151eed2ca5101d67 100644 (file)
@@ -1,4 +1,5 @@
-#!/bin/bash
+#!/bin/sh
+
 saved_dir=$PWD
 for dir in */tests ; do
        cd $dir