summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-08-27 08:57:09 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-28 15:12:44 +0100
commitcdfc5150862dc3128bd85353f0263213e595778b (patch)
treef775334faa5c47aafe59929b22e45702dfcad931 /meta
parent1087a185246bbc5dac628ac9238d0ddf665ff660 (diff)
downloadpoky-cdfc5150862dc3128bd85353f0263213e595778b.tar.gz
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/systemd/systemd/run-ptest2
-rwxr-xr-xmeta/recipes-devtools/valgrind/valgrind/run-ptest3
-rw-r--r--meta/recipes-kernel/oprofile/oprofile/run-ptest3
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 @@
1#!/bin/sh
2
1tar -C test -xJf test/sys.tar.xz 3tar -C test -xJf test/sys.tar.xz
2make test/rules-test.sh.log 4make test/rules-test.sh.log
3make test/udev-test.pl.log 5make 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 @@
1#!/bin/bash 1#!/bin/sh
2
2# run-ptest - 'ptest' test infrastructure shell script that 3# run-ptest - 'ptest' test infrastructure shell script that
3# wraps the valgrind regression script vg_regtest. 4# wraps the valgrind regression script vg_regtest.
4# Must be run in the /usr/lib/valgrind/ptest directory. 5# 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 @@
1#!/bin/bash 1#!/bin/sh
2
2saved_dir=$PWD 3saved_dir=$PWD
3for dir in */tests ; do 4for dir in */tests ; do
4 cd $dir 5 cd $dir