Modernize, improve and extend tests `suffix*.test'.
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 19 Jun 2010 15:32:31 +0000 (17:32 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 20 Jun 2010 18:31:41 +0000 (20:31 +0200)
commite8413c400ac63bdc65a05851d23c2f076dcdee48
treef00f26eb0d4d59d4acfd8dbb7023d0daf2cf51a5
parent2be348413512b885042fe11f35f58a3bcdbc4894
Modernize, improve and extend tests `suffix*.test'.

* tests/suffix3.test: Enable `errexit' shell flag, and related
changes.
* tests/suffix4.test: Likewise.
* tests/suffix6.test: Likewise, and do not create a useless dummy
source file.
* tests/suffix7.test: Likewise.
* tests/suffix5.test: Enable `errexit' shell flag, and related
changes.  Make grepping of Makefile.in slighty stricter.
* tests/suffix.test: Enable `errexit' shell flag, and related
changes.  Also, do not redirect grep output to /dev/null, as this
might unmotivatedly hide useful information.
* tests/suffix2.test: Move setting of `errexit' shell flag earlier
in the script (just after inclusion of ./defs).  Use a more
idiomatic way to count text occurrences in Makefile.in with
grep.  Do not create useless dummy source files.
* tests/suffix10.test: Ensure verbose printing of captured make
stdout.  Minor cosmetic changes.
* tests/suffix8.test: Likewise.  Also, drop useless call to the
env(1) utility, and make grepping of make output stricter by using
$FGREP rather than plain grep.
* tests/suffix11.test: Likewise.
* tests/suffix12.test: Likewise.
* tests/suffix9.test: Prefet cat + here-doc over echo to append to
the `configure.in' stub.  Cosmetic changes.
* tests/suffix13.test: Cosmetic spacing change.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 files changed:
ChangeLog
tests/suffix.test
tests/suffix10.test
tests/suffix11.test
tests/suffix12.test
tests/suffix13.test
tests/suffix2.test
tests/suffix3.test
tests/suffix4.test
tests/suffix5.test
tests/suffix6.test
tests/suffix7.test
tests/suffix8.test
tests/suffix9.test