From 273f278fa83715c251e8422489279f91566b856b Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 16 Dec 2007 17:56:31 -0600 Subject: Tweak testing.sh so VERBOSE=1 is less noisy. --- scripts/test/testing.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/test/testing.sh b/scripts/test/testing.sh index 1531193c..a9bc6725 100644 --- a/scripts/test/testing.sh +++ b/scripts/test/testing.sh @@ -69,7 +69,6 @@ testing () echo -ne "$3" > expected echo -ne "$4" > input - [ -z "$VERBOSE" ] || echo "echo '$5' | $2" echo -ne "$5" | eval "$2" > actual RETVAL=$? @@ -78,7 +77,11 @@ testing () then FAILCOUNT=$[$FAILCOUNT+1] echo "FAIL: $NAME" - [ -n "$VERBOSE" ] && diff -u expected actual + if [ -n "$VERBOSE" ] + then + echo "echo '$5' | $2" + diff -u expected actual + fi else echo "PASS: $NAME" fi -- cgit v1.2.3