mirror of
git://git.yoctoproject.org/poky
synced 2026-08-13 19:58:43 +00:00
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>
This commit is contained in:
parent
48fe5bd58c
commit
b6d744ad18
@ -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:"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user