X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=testsuite%2Ftesting.sh;h=94e90d77e5c1eb45f0e4d2c3e54260d763087d10;hb=d553faf5a53cf9d72e16fc789451a92a797f1b70;hp=01fdfbeca65fd231e14431e8c2c1289f9872c71f;hpb=cd0df46d8cb937ef277659ea339a77925c443d3d;p=oweals%2Fbusybox.git diff --git a/testsuite/testing.sh b/testsuite/testing.sh index 01fdfbeca..94e90d77e 100755 --- a/testsuite/testing.sh +++ b/testsuite/testing.sh @@ -58,7 +58,7 @@ testing() if [ $# -ne 5 ] then - echo "Test $NAME has the wrong number of arguments ($# $*)" >&2 + echo "Test $NAME has wrong number of arguments (must be 5) ($# $*)" >&2 exit fi @@ -76,7 +76,7 @@ testing() echo -ne "$5" | eval "$2" > actual RETVAL=$? - cmp expected actual > /dev/null + cmp expected actual >/dev/null 2>/dev/null if [ $? -ne 0 ] then FAILCOUNT=$[$FAILCOUNT+1]