tests: don't skip if $(abs_builddir) or $(abs_srcdir) contain whitespace
commitde20404a6d15db5d913de632e2099b864a373546
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 28 Jun 2012 15:08:34 +0000 (28 17:08 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 28 Jun 2012 15:08:34 +0000 (28 17:08 +0200)
treef9e8d56bb19b301a66b491e0b6ec314bb86e9ad8
parent9c906bc7a82aa0cc914c724a7f7fc3518036913c
tests: don't skip if $(abs_builddir) or $(abs_srcdir) contain whitespace

We used to explicitly skip libtool and gettext tests if the absolute
path of the builddir or of the srcdir which Automake was configured
with contained any whitespace (or other metacharacters).

But several other tests would spuriously fail in such an unholy setup.
To be precise, it would cause 61 'FAIL's and 42 'ERROR's in the whole
Automake testsuite.

The fact that, as of today, nobody has reported any failure of this kind
means that (thankfully) nobody is building automake with $(abs_srcdir)
or $(abs_builddir) mangled by whitespace.  So, instead of trying to cater
to such a broken setup consistently, we just drop the extra check in the
libtool/gettext tests.

In case someone will ever reports a failure due to extra whitespace in
either $(abs_srcdir) or or $(abs_builddir), we will simply enhance our
'configure.ac' to bail out flatly and loudly at such a setup.

* t/ax/test-init.sh: Simplify accordingly.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
t/ax/test-init.sh