mirror of
git://git.sv.gnu.org/autoconf
synced 2024-11-21 01:01:48 +08:00
Port test to next m4 version
* tests/tools.at (autom4te cache): Allow m4 to quote 'like this' as well as 'like this'.
This commit is contained in:
parent
6cfdc56489
commit
7b3aa70a73
@ -98,10 +98,20 @@ AT_CHECK_M4SUGAR
|
||||
# We moved a file: it should fail
|
||||
mkdir sub
|
||||
mv foo sub
|
||||
AT_CHECK_M4SUGAR([], [1], [],
|
||||
case `$M4 no/such/file 2>&1` in
|
||||
*\`no/such/file*)
|
||||
AT_CHECK_M4SUGAR([], [1], [],
|
||||
[m4:script.4s:1: cannot open `foo': No such file or directory
|
||||
autom4te: error: m4 failed with exit status: 1
|
||||
])
|
||||
;;
|
||||
*)
|
||||
AT_CHECK_M4SUGAR([], [1], [],
|
||||
[m4:script.4s:1: cannot open 'foo': No such file or directory
|
||||
autom4te: error: m4 failed with exit status: 1
|
||||
])
|
||||
;;
|
||||
esac
|
||||
|
||||
# But if we change the main file, then we should no longer complain of
|
||||
# missing files.
|
||||
|
Loading…
Reference in New Issue
Block a user