+2002-04-22 Akim Demaille <akim@epita.fr>
+
+ * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
+ Fixes false failures on Darwin.
+
2002-04-21 Paul Eggert <eggert@twinsun.com>
* TODO, bin/autoupdate.in, doc/autoconf.texi,
ZSH_VERSION fixes. Bug reported by Raja R Harinath.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* tests/atgeneral.m4 (AT_INIT): Likewise.
-
+
2002-04-19 Paul Eggert <eggert@twinsun.com>
* NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
[AT_DATA([$1],
[[AS@&t@_INIT
if $2; then
+ # We cannot unset LINENO with Zsh, yet this test case relies on
+ # unsetting LINENO to compare its result when (i) LINENO is supported
+ # and when (ii) it is not.
+ # So just skip is the shell is ZSH.
+ test -n "${ZSH_VERSION+set}" && AS@&t@_ERROR([cannot unset LINENO], 77)
AS@&t@_UNSET([LINENO])
fi
_AS@&t@_PREPARE
0, [expout])
AT_CHECK([sh ./test/test-2], 0, [expout])
-# Beware that *.lineno scripts can be *here* while the masters are in test/.
-AT_CLEANUP(reference test test-1.lineno test-2.lineno)
+AT_CLEANUP
+
## ------------ ##
AT_CHECK_M4SH
AT_CHECK([./script])
-AT_CLEANUP(1 a)
+AT_CLEANUP