]> git.saurik.com Git - bison.git/commit
examples: fix the test suites.
authorAkim Demaille <demaille@gostai.com>
Fri, 17 Feb 2012 09:12:06 +0000 (10:12 +0100)
committerAkim Demaille <demaille@gostai.com>
Fri, 17 Feb 2012 09:20:03 +0000 (10:20 +0100)
commitc3a2e0e6dd060143cbd2854b61e435552883a6b7
treebb6d3117bf501a817b9fcb638deca1c591b12eee
parentdfd31acea72eecf978f04c7e7d5f8a5e2b0110f4
examples: fix the test suites.

* examples/calc++/test, examples/mfcalc/test (me): Be more
meaningfull: include the example name.
(prog): Factor.
(run): Avoid printf, use echo.
Add missing parens.
(cleanup): New.
Call it on trap.
Remove the previous "rm" that did the cleanup.
Move into a private directory to avoid concurrency issues.
Reported by Jim Meyering.
examples/calc++/test
examples/mfcalc/test