Extend tests on `--help' and `--version' options.
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 25 Sep 2010 15:07:27 +0000 (17:07 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 26 Sep 2010 14:33:36 +0000 (16:33 +0200)
commita82bc0d5cfea18fc96476c23a4fb2d458af09c89
tree73139d4a3d8d88e588c20b31e764c334490b0825
parenta25c6733a0e78fd7aef28e560e027bcef9684e96
Extend tests on `--help' and `--version' options.

* tests/help.test: Create a new empty directory and chdir into
it, rather than removing already present files.  Run the aclocal
and automake wrapper scripts directly, instead of relying on
$AUTOMAKE and $ACLOCAL.  Be sure to correctly match literal dots
in aclocal's and automake's stderr.  Add a trailing `:' command.
* tests/help2.test: New test, checking that options `--help' and
`--version' works in directories with broken `configure.in'.
* tests/help3.test: New test, checking that options `--help' and
`--version' take precedence on the other options.
* tests/help4.test: New test, checking that the first among the
`--help' and `--version' options to be specified on the command
line wins.
* tests/Makefile.am (TESTS): Updated.
ChangeLog
tests/Makefile.am
tests/Makefile.in
tests/help.test
tests/help2.test [new file with mode: 0755]
tests/help3.test [new file with mode: 0755]
tests/help4.test [new file with mode: 0755]