mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-30 11:01:45 +08:00
Don't rely on "PATH=test:$PATH test-1" working
as POSIX requires, as it doesn't work with Zsh.
This commit is contained in:
parent
6981c68a4a
commit
f07b247b73
@ -72,14 +72,16 @@ AT_CHECK([mkdir test || exit 77])
|
||||
AT_DATA_LINENO([test/test-1.as], [false], [$@&t@LINENO], [LINENO])
|
||||
AT_CHECK([autom4te -l m4sh test/test-1.as -o test/test-1])
|
||||
AT_CHECK([./test/test-1], 0, [expout])
|
||||
AT_CHECK([PATH=test$PATH_SEPARATOR$PATH test-1], 0, [expout])
|
||||
AT_CHECK([(PATH=test$PATH_SEPARATOR$PATH; export PATH; exec test-1)],
|
||||
0, [expout])
|
||||
AT_CHECK([sh ./test/test-1], 0, [expout])
|
||||
|
||||
# Now using a disabled LINENO, with different call conventions.
|
||||
AT_DATA_LINENO([test/test-2.as], [true], [$@&t@LINENO], [LINENO])
|
||||
AT_CHECK([autom4te -l m4sh test/test-2.as -o test/test-2])
|
||||
AT_CHECK([./test/test-2], 0, [expout])
|
||||
AT_CHECK([PATH=test$PATH_SEPARATOR$PATH test-2], 0, [expout])
|
||||
AT_CHECK([(PATH=test$PATH_SEPARATOR$PATH; export PATH; exec test-2)],
|
||||
0, [expout])
|
||||
AT_CHECK([sh ./test/test-2], 0, [expout])
|
||||
|
||||
# Beware that *.lineno scripts can be *here* while the masters are in test/.
|
||||
|
Loading…
Reference in New Issue
Block a user