m4-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU M4 source repository branch, master, updated. cvs-readonly-256


From: Gary V. Vaughan
Subject: [SCM] GNU M4 source repository branch, master, updated. cvs-readonly-256-gc81cfc2
Date: Sun, 15 Sep 2013 16:28:50 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU M4 source repository".

http://git.sv.gnu.org/gitweb/?p=m4.git;a=commitdiff;h=c81cfc2881f76fe9d03bdcba7dbf2825120aa023

The branch, master has been updated
       via  c81cfc2881f76fe9d03bdcba7dbf2825120aa023 (commit)
      from  6bdb0a4b75b44bf8e809b874006ff1975eaa690e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c81cfc2881f76fe9d03bdcba7dbf2825120aa023
Author: Gary V. Vaughan <address@hidden>
Date:   Sun Sep 15 23:24:11 2013 +0700

    tests: update `x' quotes to 'x' to match gnulib outputs.
    
    In the (extremely!) long time since this branch was last active,
    GNU is moving towards upright quotes exclusively, including
    several of the files we use from gnulib -- which breaks many of
    the test cases.
    * doc/m4.texi: Fix quotes in many example tests extracted to
    tests/generated.m4.
    * tests/builtins.at, tests/freeze.at, tests/macros.at,
    tests/modules.at, tests/null.at, tests/options.at,
    tests/others.at: Fix quotes in many expected output comparisons.
    
    Signed-off-by: Gary V. Vaughan <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 doc/m4.texi       |   74 ++++++++++++++++++++++++++--------------------------
 tests/builtins.at |   12 ++++----
 tests/freeze.at   |   16 +++++-----
 tests/macros.at   |    6 ++--
 tests/modules.at  |    2 +-
 tests/null.err    |  Bin 3634 -> 3634 bytes
 tests/options.at  |   40 ++++++++++++++--------------
 tests/others.at   |   18 ++++++------
 8 files changed, 84 insertions(+), 84 deletions(-)

diff --git a/doc/m4.texi b/doc/m4.texi
index fa0c6fd..b42a1f4 100644
--- a/doc/m4.texi
+++ b/doc/m4.texi
@@ -661,7 +661,7 @@ a warning.
 @example
 $ @kbd{m4}
 defn(`oops')
address@hidden:stdin:1: warning: defn: undefined macro `oops'
address@hidden:stdin:1: warning: defn: undefined macro 'oops'
 @result{}
 ^D
 @end example
@@ -691,7 +691,7 @@ $ @kbd{echo $?}
 @example
 $ @kbd{m4 -E -d}
 defn(`oops')
address@hidden:stdin:1: warning: defn: undefined macro `oops'
address@hidden:stdin:1: warning: defn: undefined macro 'oops'
 @result{}
 ^D
 @end example
@@ -2257,7 +2257,7 @@ m4}).
 @example
 $ @kbd{m4}
 undefine(`a')
address@hidden:stdin:1: warning: undefine: undefined macro `a'
address@hidden:stdin:1: warning: undefine: undefined macro 'a'
 @result{}
 debugmode(`-d')
 @result{}
@@ -2460,7 +2460,7 @@ builtin token does not occur in isolation.  A future 
version of
 @example
 $ @kbd{m4 -d}
 defn(`foo')
address@hidden:stdin:1: warning: defn: undefined macro `foo'
address@hidden:stdin:1: warning: defn: undefined macro 'foo'
 @result{}
 debugmode(`-d')
 @result{}
@@ -2610,7 +2610,7 @@ define(`a', `1')
 popdef
 @result{}popdef
 popdef(`a', `a')
address@hidden:stdin:3: warning: popdef: undefined macro `a'
address@hidden:stdin:3: warning: popdef: undefined macro 'a'
 @result{}
 debugmode(`-d')
 @result{}
@@ -2785,7 +2785,7 @@ f(define(`f', `2'))
 indir(`f', define(`f', `3'))
 @result{}3
 indir(`f', undefine(`f'))
address@hidden:stdin:4: warning: indir: undefined macro `f'
address@hidden:stdin:4: warning: indir: undefined macro 'f'
 @result{}
 debugmode(`-d')
 @result{}
@@ -2896,10 +2896,10 @@ $ @kbd{m4 -P}
 m4_builtin(`divnum')
 @result{}0
 m4_builtin(`m4_divnum')
address@hidden:stdin:2: warning: m4_builtin: undefined builtin `m4_divnum'
address@hidden:stdin:2: warning: m4_builtin: undefined builtin 'm4_divnum'
 @result{}
 m4_indir(`divnum')
address@hidden:stdin:3: warning: m4_indir: undefined macro `divnum'
address@hidden:stdin:3: warning: m4_indir: undefined macro 'divnum'
 @result{}
 m4_indir(`m4_divnum')
 @result{}0
@@ -2918,17 +2918,17 @@ as though empty strings had been passed as the required 
arguments.
 builtin
 @result{}builtin
 builtin()
address@hidden:stdin:2: warning: builtin: undefined builtin `'
address@hidden:stdin:2: warning: builtin: undefined builtin ''
 @result{}
 builtin(`builtin')
 @error{}m4:stdin:3: warning: builtin: too few arguments: 0 < 1
 @result{}
 builtin(`builtin',)
address@hidden:stdin:4: warning: builtin: undefined builtin `'
address@hidden:stdin:4: warning: builtin: undefined builtin ''
 @result{}
 builtin(`builtin', ``'
 ')
address@hidden:stdin:5: warning: builtin: undefined builtin ``\'\n'
address@hidden:stdin:5: warning: builtin: undefined builtin '`\'\n'
 @result{}
 indir(`index')
 @error{}m4:stdin:7: warning: index: too few arguments: 0 < 2
@@ -2988,7 +2988,7 @@ traceoff
 changequote(`[', `]')
 @result{}
 defn1([foo])
address@hidden:stdin:11: warning: builtin: undefined builtin ``defn\''
address@hidden:stdin:11: warning: builtin: undefined builtin '`defn\''
 @result{}
 defn2([foo])
 @result{}bar
@@ -2999,7 +2999,7 @@ defn1([foo])
 changequote
 @result{}
 defn1(`foo')
address@hidden:stdin:16: warning: builtin: undefined builtin `[defn]'
address@hidden:stdin:16: warning: builtin: undefined builtin '[defn]'
 @result{}
 @end example
 
@@ -4120,7 +4120,7 @@ f(popdef(`f')dumpdef(`f'))
 @error{}f:@tabchar{}``$0'1'
 @result{}f2
 f(popdef(`f')dumpdef(`f'))
address@hidden:stdin:3: warning: dumpdef: undefined macro `f'
address@hidden:stdin:3: warning: dumpdef: undefined macro 'f'
 @result{}f1
 debugmode(`-d')
 @result{}
@@ -4244,17 +4244,17 @@ traceon(`foo')
 foo
 @result{}foo
 defn(`foo')
address@hidden:stdin:4: warning: defn: undefined macro `foo'
address@hidden:stdin:4: warning: defn: undefined macro 'foo'
 @result{}
 undefine(`foo')
address@hidden:stdin:5: warning: undefine: undefined macro `foo'
address@hidden:stdin:5: warning: undefine: undefined macro 'foo'
 @result{}
 pushdef(`foo')
 @result{}
 popdef(`foo')
 @result{}
 popdef(`foo')
address@hidden:stdin:8: warning: popdef: undefined macro `foo'
address@hidden:stdin:8: warning: popdef: undefined macro 'foo'
 @result{}
 define(`foo', `bar')
 @result{}
@@ -4266,7 +4266,7 @@ undefine(`foo')
 ifdef(`foo', `yes', `no')
 @result{}no
 indir(`foo')
address@hidden:stdin:13: warning: indir: undefined macro `foo'
address@hidden:stdin:13: warning: indir: undefined macro 'foo'
 @result{}
 define(`foo', `blah')
 @result{}
@@ -4619,13 +4619,13 @@ to macro tracing.
 @comment options: -dip
 @example
 $ @kbd{m4 -dip -I examples}
address@hidden: input read from `stdin'
address@hidden: input read from 'stdin'
 define(`foo', `m4wrap(`wrapped text
 ')dnl')
 @result{}
 include(`incl.m4')dnl
address@hidden: path search for `incl.m4' found `examples/incl.m4'
address@hidden: input read from `examples/incl.m4'
address@hidden: path search for 'incl.m4' found 'examples/incl.m4'
address@hidden: input read from 'examples/incl.m4'
 @result{}Include file start
 @result{}Include file end
 @error{}m4debug: input reverted to stdin, line 3
@@ -4676,7 +4676,7 @@ Also, the special tokens for builtin functions are not 
truncated.
 @example
 $ @kbd{m4 -d -l 6 -t echo -t defn}
 debuglen(`oops')
address@hidden:stdin:1: warning: debuglen: non-numeric argument `oops'
address@hidden:stdin:1: warning: debuglen: non-numeric argument 'oops'
 @result{}
 define(`echo', `$@@')
 @result{}
@@ -5364,7 +5364,7 @@ changeresyntax(`GNU-m4')
 changeresyntax(`Gnu_M4')
 @result{}
 changeresyntax(`unknown')
address@hidden:stdin:4: warning: changeresyntax: bad syntax-spec: `unknown'
address@hidden:stdin:4: warning: changeresyntax: bad syntax-spec: 'unknown'
 @result{}
 @end example
 
@@ -6010,10 +6010,10 @@ parameters.
 @comment status: 1
 @example
 include(`n')
address@hidden:stdin:1: include: cannot open `n': No such file or directory
address@hidden:stdin:1: include: cannot open 'n': No such file or directory
 @result{}
 include()
address@hidden:stdin:2: include: cannot open `': No such file or directory
address@hidden:stdin:2: include: cannot open '': No such file or directory
 @result{}
 sinclude(`n')
 @result{}
@@ -7547,14 +7547,14 @@ Likewise, escape sequences are not yet recognized.
 
 @example
 format(`%p', `0')
address@hidden:stdin:1: warning: format: unrecognized specifier in `%p'
address@hidden:stdin:1: warning: format: unrecognized specifier in '%p'
 @result{}p
 format(`%*d', `')
 @error{}m4:stdin:2: warning: format: empty string treated as 0
 @error{}m4:stdin:2: warning: format: too few arguments: 2 < 3
 @result{}0
 format(`%.1f', `2a')
address@hidden:stdin:3: warning: format: non-numeric argument `2a'
address@hidden:stdin:3: warning: format: non-numeric argument '2a'
 @result{}2.0
 @end example
 
@@ -7710,23 +7710,23 @@ eval(`(1 | 1) ^ 1')
 eval(`+ + - ~ ! ~ 0')
 @result{}1
 eval(`++0')
address@hidden:stdin:8: warning: eval: invalid operator: `++0'
address@hidden:stdin:8: warning: eval: invalid operator: '++0'
 @result{}
 eval(`1 = 1')
address@hidden:stdin:9: warning: eval: invalid operator: `1 = 1'
address@hidden:stdin:9: warning: eval: invalid operator: '1 = 1'
 @result{}
 eval(`0 |= 1')
address@hidden:stdin:10: warning: eval: invalid operator: `0 |= 1'
address@hidden:stdin:10: warning: eval: invalid operator: '0 |= 1'
 @result{}
 eval(`2 || 1 / 0')
 @result{}1
 eval(`0 || 1 / 0')
address@hidden:stdin:12: warning: eval: divide by zero: `0 || 1 / 0'
address@hidden:stdin:12: warning: eval: divide by zero: '0 || 1 / 0'
 @result{}
 eval(`0 && 1 % 0')
 @result{}0
 eval(`2 && 1 % 0')
address@hidden:stdin:14: warning: eval: modulo by zero: `2 && 1 % 0'
address@hidden:stdin:14: warning: eval: modulo by zero: '2 && 1 % 0'
 @result{}
 @end example
 
@@ -7754,9 +7754,9 @@ eval(`2 ** 0')
 @result{}1
 eval(`0 ** 0')
 @result{}
address@hidden:stdin:5: warning: eval: divide by zero: `0 ** 0'
address@hidden:stdin:5: warning: eval: divide by zero: '0 ** 0'
 eval(`4 ** -2')
address@hidden:stdin:6: warning: eval: negative exponent: `4 ** -2'
address@hidden:stdin:6: warning: eval: negative exponent: '4 ** -2'
 @result{}
 eval(`2 || 4 ** -2')
 @result{}1
@@ -7819,7 +7819,7 @@ square(square(`5')` + 1')
 define(`foo', `666')
 @result{}
 eval(`foo / 6')
address@hidden:stdin:11: warning: eval: bad expression: `foo / 6'
address@hidden:stdin:11: warning: eval: bad expression: 'foo / 6'
 @result{}
 eval(foo / 6)
 @result{}111
@@ -8780,7 +8780,7 @@ twoline
 @result{}1
 @result{}2
 syncoutput(`blah')
address@hidden:stdin:18: warning: syncoutput: unknown directive `blah'
address@hidden:stdin:18: warning: syncoutput: unknown directive 'blah'
 @result{}
 @end example
 
@@ -9522,7 +9522,7 @@ forloop(`', `1', `2', ` odd iterator name')
 forloop(`i', `5 + 5', `0xc', ` 0x`'eval(i, `16')')
 @result{} 0xa 0xb 0xc
 forloop(`i', `a', `b', `non-numeric bounds')
address@hidden:stdin:6: warning: eval: bad input: `(a) <= (b)'
address@hidden:stdin:6: warning: eval: bad input: '(a) <= (b)'
 @result{}
 @end example
 
diff --git a/tests/builtins.at b/tests/builtins.at
index aad4636..1147972 100644
--- a/tests/builtins.at
+++ b/tests/builtins.at
@@ -218,14 +218,14 @@ AT_CHECK_M4([define.m4], 0,
 [[new value.
 hello, world.
 base value.
-]], [[m4:define.m4:1: warning: undefine: undefined macro `macro'
+]], [[m4:define.m4:1: warning: undefine: undefined macro 'macro'
 ]])
 
 AT_CHECK_M4([--traditional define.m4], 0,
 [[new value.
 hello, world.
 base value.
-]], [[m4:define.m4:1: warning: undefine: undefined macro `macro'
+]], [[m4:define.m4:1: warning: undefine: undefined macro 'macro'
 ]])
 
 dnl check regression present 2008-02-22 to 2008-04-30.
@@ -612,8 +612,8 @@ very late
 ]])
 
 AT_DATA([[experr]],
-[[m4:include.m4:2: include: cannot open `NOFILE': No such file or directory
-m4:include.m4:6: include: cannot open `NOFILE': No such file or directory
+[[m4:include.m4:2: include: cannot open 'NOFILE': No such file or directory
+m4:include.m4:6: include: cannot open 'NOFILE': No such file or directory
 ]])
 
 AT_CHECK_M4([include.m4], 1, expout, experr)
@@ -728,7 +728,7 @@ AT_DATA([[in]],
 [[mkdtemp(`no_such_dir/m4-fooXXXXXX')
 ]])
 AT_CHECK_M4([in], [0], [[
-]], [[m4:in:1: warning: mkdtemp: cannot create directory from template 
`no_such_dir/m4-fooXXXXXX': No such file or directory
+]], [[m4:in:1: warning: mkdtemp: cannot create directory from template 
'no_such_dir/m4-fooXXXXXX': No such file or directory
 ]])
 
 dnl Check that umask has an effect.  drws--S--T is okay.
@@ -757,7 +757,7 @@ AT_DATA([[in]],
 [[mkstemp(`no_such_dir/m4-fooXXXXXX')
 ]])
 AT_CHECK_M4([in], [0], [[
-]], [[m4:in:1: warning: mkstemp: cannot create file from template 
`no_such_dir/m4-fooXXXXXX': No such file or directory
+]], [[m4:in:1: warning: mkstemp: cannot create file from template 
'no_such_dir/m4-fooXXXXXX': No such file or directory
 ]])
 
 dnl Check that extra X are appended, but not trailing NUL
diff --git a/tests/freeze.at b/tests/freeze.at
index b75d520..4ac25d7 100644
--- a/tests/freeze.at
+++ b/tests/freeze.at
@@ -61,7 +61,7 @@ AT_SETUP([freezing failure])
 AT_KEYWORDS([frozen])
 
 AT_CHECK_M4([-F /none/such], [1], [],
-[[m4: cannot open `/none/such': No such file or directory
+[[m4: cannot open '/none/such': No such file or directory
 ]])
 
 if test -w /dev/full && test -c /dev/full ; then
@@ -170,7 +170,7 @@ define 1
 my_define(bar, 4) 3
 bar${1}
 ]],
-[[m4:input.m4:5: warning: popdef: undefined macro `my_define'
+[[m4:input.m4:5: warning: popdef: undefined macro 'my_define'
 ]])
 
 dnl Test rejection of v2 features in a v1 frozen file
@@ -414,7 +414,7 @@ AT_CHECK([cat out1 stdout], [0], [expout])
 dnl Check that unexpected embedded NULs are recognized.
 printf '# bogus frozen file\nV2\nR4\ngnu\0\n' > bogus.m4f
 AT_CHECK_M4([-R bogus.m4f], [1], [],
-[[m4:bogus.m4f:4: bad syntax-spec `gnu\0'
+[[m4:bogus.m4f:4: bad syntax-spec 'gnu\0'
 ]])
 
 dnl Reject escape sequences that expand to unexpected NUL
@@ -426,7 +426,7 @@ len
 len\0
 ]])
 AT_CHECK_M4([-R bogus.m4f], [1], [],
-[[m4:bogus.m4f:5: ill-formed frozen file, invalid builtin `len\0' encountered
+[[m4:bogus.m4f:5: ill-formed frozen file, invalid builtin 'len\0' encountered
 ]])
 
 AT_CLEANUP
@@ -528,10 +528,10 @@ AT_CHECK_M4([-R frozen.m4f input.m4], 0,
 
 a
 ]],
-[[m4:input.m4:4: warning: defn: a: builtin `b' requested by frozen file not 
found
-m4:input.m4:6: warning: a: builtin `b' requested by frozen file not found
-m4:input.m4:8: warning: a: builtin `b' requested by frozen file not found
-m4:input.m4:10: warning: builtin: undefined builtin `b'
+[[m4:input.m4:4: warning: defn: a: builtin 'b' requested by frozen file not 
found
+m4:input.m4:6: warning: a: builtin 'b' requested by frozen file not found
+m4:input.m4:8: warning: a: builtin 'b' requested by frozen file not found
+m4:input.m4:10: warning: builtin: undefined builtin 'b'
 a:     <<b>>
 c:     `'
 ]], [], [ ])
diff --git a/tests/macros.at b/tests/macros.at
index 31b4492..312a606 100644
--- a/tests/macros.at
+++ b/tests/macros.at
@@ -239,9 +239,9 @@ hej:        `def 4.'
 hej:   `def 3.'
 hej:   `def 2.'
 hej:   `def 1.'
-m4:pushpop.m4:18: warning: dumpdef: undefined macro `hej'
-m4:pushpop.m4:20: warning: dumpdef: undefined macro `mac2'
-m4:pushpop.m4:21: warning: popdef: undefined macro `mac2'
+m4:pushpop.m4:18: warning: dumpdef: undefined macro 'hej'
+m4:pushpop.m4:20: warning: dumpdef: undefined macro 'mac2'
+m4:pushpop.m4:21: warning: popdef: undefined macro 'mac2'
 ]])
 
 AT_CLEANUP
diff --git a/tests/modules.at b/tests/modules.at
index 3b08246..953f06d 100644
--- a/tests/modules.at
+++ b/tests/modules.at
@@ -133,7 +133,7 @@ Dumpdef: .
 [[Test module loaded.
 test:  <test>
 Test module unloaded.
-m4:input.m4:6: warning: dumpdef: undefined macro `test'
+m4:input.m4:6: warning: dumpdef: undefined macro 'test'
 ]])
 
 AT_CLEANUP
diff --git a/tests/null.err b/tests/null.err
index 2b0b3cf..d10916d 100644
Binary files a/tests/null.err and b/tests/null.err differ
diff --git a/tests/options.at b/tests/options.at
index 80e70d7..4771cda 100644
--- a/tests/options.at
+++ b/tests/options.at
@@ -77,7 +77,7 @@ AT_CHECK_M4([--arglength=10], [0], [],
 
 AT_CHECK_M4([--arglength=x], [1], [],
 [[m4: warning: `--arglength' is deprecated, use `--debuglen' instead
-m4: invalid --arglength argument `x'
+m4: invalid --arglength argument 'x'
 ]])
 
 dnl --word-regexp from 1.4.x is no longer supported.  Can't test for its
@@ -99,7 +99,7 @@ dnl Check that all files are processed even after missing file
 AT_DATA([in], [[hello world
 ]])
 AT_CHECK_M4([oops in], [1], [[hello world
-]], [[m4: cannot open `oops': No such file or directory
+]], [[m4: cannot open 'oops': No such file or directory
 ]])
 
 dnl Check that '-' means stdin, even if ./- exists.
@@ -294,7 +294,7 @@ AT_CHECK([test -f trace3], [1])
 dnl check that trace file failure causes an error, but allows processing
 AT_CHECK_M4([--debugfile=no_such_dir/trace -tfoo -Dfoo=bar in], [1],
 [[bar
-]], [[m4: cannot set debug file `no_such_dir/trace': No such file or directory
+]], [[m4: cannot set debug file 'no_such_dir/trace': No such file or directory
 m4trace: -1- foo -> `bar'
 ]])
 
@@ -345,15 +345,15 @@ echo(`long string')
 ]])
 
 AT_CHECK_M4([--debuglen=-1 in], [1], [],
-[[m4: invalid --debuglen argument `-1'
+[[m4: invalid --debuglen argument '-1'
 ]])
 
 AT_CHECK_M4([--debuglen oops in], [1], [],
-[[m4: invalid --debuglen argument `oops'
+[[m4: invalid --debuglen argument 'oops'
 ]])
 
 AT_CHECK_M4([-l 10oops in], [1], [],
-[[m4: invalid suffix in -l argument `10oops'
+[[m4: invalid suffix in -l argument '10oops'
 ]])
 
 dnl MiB is the suffix to implict 1, resulting in 1048576
@@ -363,10 +363,10 @@ AT_CHECK_M4([-lMiB in], [0], [[long string
 
 dnl this assumes size_t is no bigger than 64 bits
 AT_CHECK_M4([-l 123456789012345678901234567890 in], [1], [],
-[[m4: -l argument `123456789012345678901234567890' too large
+[[m4: -l argument '123456789012345678901234567890' too large
 ]])
 AT_CHECK_M4([--debugl 123456789012345678901234567890 in], [1], [],
-[[m4: --debuglen argument `123456789012345678901234567890' too large
+[[m4: --debuglen argument '123456789012345678901234567890' too large
 ]])
 
 dnl per POSIX guidelines, this is a decimal number 10, not octal 8
@@ -431,11 +431,11 @@ m4debug: module gnu: opening file
 m4debug: module gnu: opened
 m4debug: module gnu: builtins loaded
 m4debug: module gnu: macros loaded
-m4debug: path search for `in' found `in'
-m4debug: input read from `in'
+m4debug: path search for 'in' found 'in'
+m4debug: input read from 'in'
 m4trace:in:1: -1- id 1: include ... = <include>{m4}
-m4debug:in:1: path search for `nested' found `nested'
-m4debug:in:1: input read from `nested'
+m4debug:in:1: path search for 'nested' found 'nested'
+m4debug:in:1: input read from 'nested'
 m4trace:in:1: -1- id 1: include(`nested') -> <file: nested>
 m4trace:nested:1: -1- id 2: m4wrap ... = <m4wrap>{m4}
 m4trace:nested:1: -1- id 2: m4wrap(`divnum
@@ -626,15 +626,15 @@ echo(echo(echo(echo(echo(echo(echo(echo(echo(`nested 
string')))))))))
 ]])
 
 AT_CHECK_M4([--nesting-limit=-1 in], [1], [],
-[[m4: invalid --nesting-limit argument `-1'
+[[m4: invalid --nesting-limit argument '-1'
 ]])
 
 AT_CHECK_M4([--nesting-limit oops in], [1], [],
-[[m4: invalid --nesting-limit argument `oops'
+[[m4: invalid --nesting-limit argument 'oops'
 ]])
 
 AT_CHECK_M4([-L 10oops in], [1], [],
-[[m4: invalid suffix in -L argument `10oops'
+[[m4: invalid suffix in -L argument '10oops'
 ]])
 
 dnl MiB is the suffix to implict 1, resulting in 1048576
@@ -644,10 +644,10 @@ nested string
 
 dnl this assumes size_t is no bigger than 64 bits
 AT_CHECK_M4([-L 123456789012345678901234567890 in], [1], [],
-[[m4: -L argument `123456789012345678901234567890' too large
+[[m4: -L argument '123456789012345678901234567890' too large
 ]])
 AT_CHECK_M4([--nest 123456789012345678901234567890 in], [1], [],
-[[m4: --nesting-limit argument `123456789012345678901234567890' too large
+[[m4: --nesting-limit argument '123456789012345678901234567890' too large
 ]])
 
 AT_CHECK_M4([-L 5 in], [1], [[nested string
@@ -705,7 +705,7 @@ AT_CHECK_M4([-I post -B pre in], [1],
 [[in pre/foo
 in ./bar
 in post/blah
-]], [[m4:in:3: include: cannot open `bad': No such file or directory
+]], [[m4:in:3: include: cannot open 'bad': No such file or directory
 ]])
 
 AT_CLEANUP
@@ -723,7 +723,7 @@ AT_DATA([[in]], [[regexp(`(', `(')
 ]])
 
 AT_CHECK_M4([--regexp-syntax=unknown in], [1], [],
-[[m4: bad syntax-spec: `unknown'
+[[m4: bad syntax-spec: 'unknown'
 ]])
 
 AT_CHECK_M4([--regexp-syntax= in], [0], [[0
@@ -821,7 +821,7 @@ hi
 dnl test parse error
 AT_CHECK_M4([--syncoutput=huh in], [0],
 [[hi
-]], [[m4: warning: --syncoutput: unknown directive `huh'
+]], [[m4: warning: --syncoutput: unknown directive 'huh'
 ]])
 
 AT_CLEANUP
diff --git a/tests/others.at b/tests/others.at
index 3258957..b095cc6 100644
--- a/tests/others.at
+++ b/tests/others.at
@@ -145,14 +145,14 @@ AT_DATA([in3.m4],
 AT_CHECK_M4([in1.m4/], [1], [], [stderr])
 dnl mingw fails with EINVAL rather than the expected ENOTDIR
 AT_CHECK([$SED 's/Invalid argument/Not a directory/' stderr], [0],
-[[m4: cannot open `in1.m4/': Not a directory
+[[m4: cannot open 'in1.m4/': Not a directory
 ]])
 
 AT_CHECK_M4([in1.m4], [1], [[
 ]], [stderr])
 dnl mingw fails with EINVAL rather than the expected ENOTDIR
 AT_CHECK([$SED 's/Invalid argument/Not a directory/' stderr], [0],
-[[m4:in1.m4:1: include: cannot open `in2.m4/': Not a directory
+[[m4:in1.m4:1: include: cannot open 'in2.m4/': Not a directory
 ]])
 
 AT_CHECK_M4([in2.m4], [0], [[
@@ -163,7 +163,7 @@ AT_CHECK_M4([in3.m4], [1], [[
 ]], [stderr])
 dnl mingw fails with EACCES rather than the expected EISDIR
 AT_CHECK([$SED 's/Permission denied/Is a directory/' stderr], [0],
-[[m4:in3.m4:1: include: cannot open `.': Is a directory
+[[m4:in3.m4:1: include: cannot open '.': Is a directory
 ]])
 
 AT_CLEANUP
@@ -437,7 +437,7 @@ AT_CHECK_M4(["$abs_srcdir/null.m4"], [1],
 [[# This file tests m4 behavior on NUL bytes.
 ]], [stderr])
 AT_CHECK([sed "s|$abs_srcdir/||" stderr], [0],
-[[m4:null.m4:5: warning: m4exit: non-numeric argument `2\0002'
+[[m4:null.m4:5: warning: m4exit: non-numeric argument '2\0002'
 ]])
 
 AT_CLEANUP
@@ -630,13 +630,13 @@ AT_CHECK_M4([in.m4], [0], [ignore], [ignore], [-])
 
 dnl error when stdin must be read
 AT_CHECK_M4([], [1], [],
-[[m4:stdin:1: error reading `stdin'
+[[m4:stdin:1: error reading 'stdin'
 m4: error closing file: Bad file descriptor
 ]], [-])
 
 dnl error when stdin must be read
 AT_CHECK_M4([-], [1], [],
-[[m4:stdin:1: error reading `stdin'
+[[m4:stdin:1: error reading 'stdin'
 m4: error closing file: Bad file descriptor
 ]], [-])
 
@@ -644,8 +644,8 @@ dnl error once per command-line attempt to read stdin
 AT_DATA([in.m4], [[hello world
 ]])
 AT_CHECK_M4([- in.m4 -], [1], [[hello world
-]], [[m4:stdin:1: error reading `stdin'
-m4:stdin:1: error reading `stdin'
+]], [[m4:stdin:1: error reading 'stdin'
+m4:stdin:1: error reading 'stdin'
 m4: error closing file: Bad file descriptor
 ]], [-])
 
@@ -670,7 +670,7 @@ AT_DATA([in2.m4], [[divert(`-1')undivert
 divert`'world
 ]])
 AT_CHECK_M4([in.m4 - in2.m4], [1], [[hello world
-]], [[m4:stdin:1: error reading `stdin'
+]], [[m4:stdin:1: error reading 'stdin'
 m4: error closing file: Bad file descriptor
 ]], [-])
 


hooks/post-receive
-- 
GNU M4 source repository



reply via email to

[Prev in Thread] Current Thread [Next in Thread]