summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-03-02 14:57:28 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-03 14:07:44 +0000
commit06c783e2d6f4e3b316b230565b28d9e4c535c31b (patch)
treeb6b1706029c773ca3943072df662e541c173ccd8
parent857840472705af1c0fbb8db917b4bb6809b929a6 (diff)
downloadopenembedded-core-06c783e2d6f4e3b316b230565b28d9e4c535c31b.tar.gz
openembedded-core-06c783e2d6f4e3b316b230565b28d9e4c535c31b.tar.bz2
openembedded-core-06c783e2d6f4e3b316b230565b28d9e4c535c31b.zip
eglibc-testing: Fix testing script to work well with dash
Dash did not like >& so we do 2 >& 1 > /dev/null Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/eglibc/eglibc-testing.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-testing.inc b/meta/recipes-core/eglibc/eglibc-testing.inc
index c30409fb94..a5ce773bfc 100644
--- a/meta/recipes-core/eglibc/eglibc-testing.inc
+++ b/meta/recipes-core/eglibc/eglibc-testing.inc
@@ -47,7 +47,7 @@ then
echo "Please specify the target machine and remote user in form of user@target"
exit 1;
fi
-ssh \$target ls \$PWD\ >& /dev/null
+ssh \$target ls \$PWD\ 2>&1 > /dev/null
if [ "x\$?" != "x0" ]
then
echo "Failed connecting to \$target it could be because of:"