]> git.saurik.com Git - bison.git/blame - examples/calc++/test
* examples/calc++/test: Be quiet unless VERBOSE.
[bison.git] / examples / calc++ / test
CommitLineData
0ffd4fd1 1#! /bin/sh
828c373b 2
a1b3bf8c
AD
3test -z "$VERBOSE" && {
4 exec > /dev/null 2>&1
5}
6
0ffd4fd1
AD
7cat >input <<EOF
8a := 1
9b := 2
10c := 3
11d := a + b * c
12d
13EOF
14
15./calc++ input
16./calc++ -p input
17
18cat >input <<EOF
19a := 1
20d := a + b * c
21EOF
22./calc++ input
23
24set -x
25echo toto
26cat >input <<EOF
27toto := 1
28toto
29EOF
30./calc++ -s input
828c373b
AD
31
32rm input