mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 21:03:04 +00:00
* examples/calc++/test: Use set -x only when VERBOSE.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user