diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-03-02 14:57:28 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-04 05:41:10 -0800 |
commit | b6d744ad1885a0a7d102b1d9f4f67bdb171ab203 (patch) | |
tree | 703d8e4ca13fbb987d96c688e397b56ce636f011 /meta | |
parent | 48fe5bd58c0a6384162fc69c9fb2519d01b9bb5c (diff) | |
download | poky-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>
Diffstat (limited to 'meta')
-rw-r--r-- | 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 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; |
49 | fi | 49 | fi |
50 | ssh \$target ls \$PWD\ >& /dev/null | 50 | ssh \$target ls \$PWD\ 2>&1 > /dev/null |
51 | if [ "x\$?" != "x0" ] | 51 | if [ "x\$?" != "x0" ] |
52 | then | 52 | then |
53 | echo "Failed connecting to \$target it could be because of:" | 53 | echo "Failed connecting to \$target it could be because of:" |