summaryrefslogtreecommitdiffstats
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-04 05:41:10 -0800
commitb6d744ad1885a0a7d102b1d9f4f67bdb171ab203 (patch)
tree703d8e4ca13fbb987d96c688e397b56ce636f011
parent48fe5bd58c0a6384162fc69c9fb2519d01b9bb5c (diff)
downloadpoky-b6d744ad1885a0a7d102b1d9f4f67bdb171ab203.tar.gz
eglibc-testing: Fix testing script to work well with dash
Dash did not like >& so we do 2 >& 1 > /dev/null (From OE-Core rev: 06c783e2d6f4e3b316b230565b28d9e4c535c31b) 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
47 echo "Please specify the target machine and remote user in form of user@target" 47 echo "Please specify the target machine and remote user in form of user@target"
48 exit 1; 48 exit 1;
49fi 49fi
50ssh \$target ls \$PWD\ >& /dev/null 50ssh \$target ls \$PWD\ 2>&1 > /dev/null
51if [ "x\$?" != "x0" ] 51if [ "x\$?" != "x0" ]
52then 52then
53 echo "Failed connecting to \$target it could be because of:" 53 echo "Failed connecting to \$target it could be because of:"