diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-08-27 08:57:09 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-28 15:11:11 +0100 |
commit | 62d455f89fb1d2c22cf987bdbb56a55e6d031ce0 (patch) | |
tree | 9b7c8621a85126c60272dd26e58cfaefd7b50866 | |
parent | d081a85fc76e2b7a469c6c70175ecf7aed9de053 (diff) | |
download | openembedded-core-62d455f89fb1d2c22cf987bdbb56a55e6d031ce0.tar.gz openembedded-core-62d455f89fb1d2c22cf987bdbb56a55e6d031ce0.tar.bz2 openembedded-core-62d455f89fb1d2c22cf987bdbb56a55e6d031ce0.zip |
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.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/systemd/systemd/run-ptest | 2 | ||||
-rwxr-xr-x | meta/recipes-devtools/valgrind/valgrind/run-ptest | 3 | ||||
-rw-r--r-- | meta/recipes-kernel/oprofile/oprofile/run-ptest | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-core/systemd/systemd/run-ptest b/meta/recipes-core/systemd/systemd/run-ptest index 2f6bd93a5b..a2d61c2894 100644 --- a/meta/recipes-core/systemd/systemd/run-ptest +++ b/meta/recipes-core/systemd/systemd/run-ptest @@ -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 diff --git a/meta/recipes-devtools/valgrind/valgrind/run-ptest b/meta/recipes-devtools/valgrind/valgrind/run-ptest index 7d0584ada9..f9a72ec4a9 100755 --- a/meta/recipes-devtools/valgrind/valgrind/run-ptest +++ b/meta/recipes-devtools/valgrind/valgrind/run-ptest @@ -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. diff --git a/meta/recipes-kernel/oprofile/oprofile/run-ptest b/meta/recipes-kernel/oprofile/oprofile/run-ptest index 583ee1b8a8..4814be652a 100644 --- a/meta/recipes-kernel/oprofile/oprofile/run-ptest +++ b/meta/recipes-kernel/oprofile/oprofile/run-ptest @@ -1,4 +1,5 @@ -#!/bin/bash +#!/bin/sh + saved_dir=$PWD for dir in */tests ; do cd $dir |