summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/insserv
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-08-27 08:57:10 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-28 15:11:11 +0100
commit70c6e0b84d3e17807cbea0677df2f0772a284130 (patch)
tree88abe5404443f41e318aac6812cef4e659cb7bd4 /meta/recipes-devtools/insserv
parent62d455f89fb1d2c22cf987bdbb56a55e6d031ce0 (diff)
downloadopenembedded-core-70c6e0b84d3e17807cbea0677df2f0772a284130.tar.gz
openembedded-core-70c6e0b84d3e17807cbea0677df2f0772a284130.tar.bz2
openembedded-core-70c6e0b84d3e17807cbea0677df2f0772a284130.zip
run-ptest: fix bashism
These script use /bin/sh as the interpreter, but contains bashism: recipes-devtools/insserv/files/run-ptest recipes-devtools/quilt/quilt/run-ptest recipes-devtools/tcltk/tcl/run-ptest recipes-extended/gawk/gawk-4.1.1/run-ptest recipes-support/beecrypt/beecrypt/run-ptest Fixed: "==" -> "=" (should be -eq when integer) "&>log" -> ">log 2>&1" And quilt's test scripts requires bash, add bash to RDEPENDS_quilt-ptest Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/insserv')
-rw-r--r--meta/recipes-devtools/insserv/files/run-ptest2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/insserv/files/run-ptest b/meta/recipes-devtools/insserv/files/run-ptest
index 495d1551c2..4a6da3030a 100644
--- a/meta/recipes-devtools/insserv/files/run-ptest
+++ b/meta/recipes-devtools/insserv/files/run-ptest
@@ -11,7 +11,7 @@ output() {
}
for i in test_simple_sequence test_undetected_loop; \
- do $i &>/dev/null ; output; \
+ do $i >/dev/null 2>&1; output; \
done
rm -rf ${tmpdir}