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
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]