CVSROOT: /sources/m4 Module name: m4 Changes by: Eric Blake <ericb> 06/10/12 21:14:50
Index: tests/options.at =================================================================== RCS file: /sources/m4/m4/tests/options.at,v retrieving revision 1.19 retrieving revision 1.20 diff -u -b -r1.19 -r1.20 --- tests/options.at 12 Oct 2006 02:44:27 -0000 1.19 +++ tests/options.at 12 Oct 2006 21:14:50 -0000 1.20 @@ -286,7 +286,8 @@ ]]) dnl Test that shorter prefix is ambiguous. -AT_CHECK_M4([--debu], [1], [], +AT_CHECK_M4([--debu], [1], [], [stderr]) +AT_CHECK([sed -e 's/Try.*--help/Try `m4 --help/' stderr], [0], [[m4: option `--debu' is ambiguous Try `m4 --help' for more information. ]])
