tests: Don't check 'Getopt::Long' corner cases
commit903a80e0def90b88c1e4eead353af126a31a5422
authorMathieu Lirzin <mthl@gnu.org>
Thu, 18 Jan 2018 10:19:13 +0000 (18 11:19 +0100)
committerMathieu Lirzin <mthl@gnu.org>
Sun, 18 Feb 2018 11:37:09 +0000 (18 12:37 +0100)
treea73a3acc46e368f6ace4c837593619387fb99ecc
parent1d60fb72168e62d33fe433380af621de64e22f23
tests: Don't check 'Getopt::Long' corner cases

Depending on the installed 'Getopt::Long' perl module, command-line
handling may vary a bit.  As a consequence we prefer not to check
command-line corners cases.  This change fixes automake bug#29638.

* t/aclocal.sh (am_create_testdir): Don't expect "--versi" to be
interpreted as "--version".
* t/automake-cmdline.tap: Don't expect "--vers" to be interpreted as
"--version" and things after "--" to be interpreted as file arguments.
(do_check): Display the actual command output.
* t/maken3.sh (check_targets): "--force" is not a documented option, so
don't use it.
t/aclocal.sh
t/automake-cmdline.tap
t/maken3.sh