Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] eglibc-testing: Fix testing script to work well with dash
@ 2012-03-02 22:57 Khem Raj
  2012-03-05 22:01 ` Saul Wold
  0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2012-03-02 22:57 UTC (permalink / raw)
  To: openembedded-core

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

Signed-off-by: Khem Raj <raj.khem@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@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




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-05 22:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-02 22:57 [PATCH] eglibc-testing: Fix testing script to work well with dash Khem Raj
2012-03-05 22:01 ` Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox