diff options
Diffstat (limited to 'scripts/test')
-rw-r--r-- | scripts/test/testing.sh | 7 |
1 files 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 |