projects
/
platform
/
upstream
/
toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b479b4
)
Tweak testing.sh so VERBOSE=1 is less noisy.
author
Rob Landley
<rob@landley.net>
Sun, 16 Dec 2007 23:56:31 +0000
(17:56 -0600)
committer
Rob Landley
<rob@landley.net>
Sun, 16 Dec 2007 23:56:31 +0000
(17:56 -0600)
scripts/test/testing.sh
patch
|
blob
|
history
diff --git
a/scripts/test/testing.sh
b/scripts/test/testing.sh
index
1531193
..
a9bc672
100644
(file)
--- 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