* examples/calc++/test: Use set -x only when VERBOSE.

This commit is contained in:
Akim Demaille
2005-10-14 06:10:54 +00:00
parent 302c0aeeba
commit d4476375cf
2 changed files with 5 additions and 2 deletions

View File

@@ -2,6 +2,7 @@
test -z "$VERBOSE" && {
exec > /dev/null 2>&1
set -x
}
cat >input <<EOF
@@ -21,8 +22,6 @@ d := a + b * c
EOF
./calc++ input
set -x
echo toto
cat >input <<EOF
toto := 1
toto