valgrind/oprofile/systemd: no bashism in run-ptest

There is no bashism in the scripts, so use /bin/sh, and add /bin/sh
interpreter for systemd's run-ptest.

(From OE-Core rev: 62d455f89fb1d2c22cf987bdbb56a55e6d031ce0)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Robert Yang
2014-08-27 08:57:09 -07:00
committed by Richard Purdie
parent 1087a18524
commit cdfc515086
3 changed files with 6 additions and 2 deletions

View 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

View File

@@ -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.

View File

@@ -1,4 +1,5 @@
#!/bin/bash
#!/bin/sh
saved_dir=$PWD
for dir in */tests ; do
cd $dir