eglibc-testing: Fix testing script to work well with dash
PATCH 1/1 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 <[email protected]>
--- meta/recipes-core/eglibc/eglibc-testing.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-core/eglibc/eglibc-testing.inc +1 -1
@@ -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:"
Signature · 1 line
1.7.5.4
Saul Wold
AppliedQuoted 12 lines · Khem Raj
Dash did not like>& so we do 2>& 1>
/dev/nullSigned-off-by Khem Raj<[email protected]>--- meta/recipes-core/eglibc/eglibc-testing.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)meta/recipes-core/eglibc/eglibc-testing.inc +0
-0
meta/recipes-core/eglibc/eglibc-testing.inc then · line 53
Quoted 8 lines
meta/recipes-core/eglibc/eglibc-testing.inc +1
-1@@ -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:"
Merged into OE-core
Thanks
Sau!