* 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

@@ -1,3 +1,7 @@
2005-10-14 Akim Demaille <akim@epita.fr>
* examples/calc++/test: Use set -x only when VERBOSE.
2005-10-13 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: Bison now warns if it finds a stray `$' or `@' in an action.

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