[OE-core] [PATCH] eglibc-testing: Fix testing script to work well with dash

Khem Raj raj.khem at gmail.com
Fri Mar 2 22:57:28 UTC 2012


Dash did not like >& so we do 2 >& 1 > /dev/null

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta/recipes-core/eglibc/eglibc-testing.inc |    2 +-
 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 c30409f..a5ce773 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 at 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:"
-- 
1.7.5.4





More information about the Openembedded-core mailing list