+2010-09-13 Stefano Lattarini <stefano.lattarini@gmail.com>
+
+ tests: simplify grepping of 'automake --version'.
+ * tests/tools.at (autom4te preselections): Remove minor
+ redundancies in regular expressions used to grep the output
+ 'automake --version' for test skipping.
+ * tests/torture.at (Configuring subdirectories)
+ (Unusual Automake input files): Likewise.
+
2010-09-13 Eric Blake <eblake@redhat.com>
autotest: work around zsh bug
# We use aclocal and automake. Skip broken automake wrappers.
AT_CHECK([automake --version || exit 77], [], [stdout], [ignore])
-AT_CHECK([[grep '[1-9]\.[0-9][0-9]*' stdout || exit 77]], [], [ignore])
+AT_CHECK([[grep '[1-9]\.[0-9]' stdout || exit 77]], [], [ignore])
AT_CHECK([test ! -f $HOME/.autom4te.cfg || exit 77], [], [ignore], [ignore])
AT_DATA([configure.in],
# We use aclocal (via autoreconf).
AT_CHECK([aclocal --version || exit 77], [], [stdout], [ignore])
-AT_CHECK([[grep '[1-9]\.[0-9][0-9]*' stdout || exit 77]], [], [ignore])
+AT_CHECK([[grep '[1-9]\.[0-9]' stdout || exit 77]], [], [ignore])
# It should understand configure.ac.
AT_CHECK([[grep '[^0-9]1\.[01234][^0-9]' stdout && exit 77]], [1], [ignore])
# We use aclocal and automake via autoreconf.
AT_CHECK([automake --version || exit 77], [], [stdout], [ignore])
-AT_CHECK([[grep '[1-9]\.[0-9][0-9]*' stdout || exit 77]], [], [ignore])
+AT_CHECK([[grep '[1-9]\.[0-9]' stdout || exit 77]], [], [ignore])
AT_DATA([configure.in],
[[AC_INIT(GNU foo, 1.0)