From: Peter Rosin Date: Fri, 17 Feb 2012 21:09:38 +0000 (+0100) Subject: tests: fix broken quoting in the generated yacc grammar X-Git-Tag: v1.11b~118^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7cc454dc97c663d03d6abde99724606bc2878ef;p=thirdparty%2Fautomake.git tests: fix broken quoting in the generated yacc grammar Fixes problem introduced by v1.11-1912-ge0906b7 "tests: avoid spurious failure with non-bison yacc" from 12-02-2012. * tests/suffix10.tap (Makefile.am): Avoid outer single quotes when we need to produce single quotes. --- diff --git a/tests/suffix10.tap b/tests/suffix10.tap index 1b812cbf3..aa9824593 100755 --- a/tests/suffix10.tap +++ b/tests/suffix10.tap @@ -42,7 +42,7 @@ libfoo_la_SOURCES = foo.x_ && echo 'void yyerror (char *s) {}' \ && echo '%}' \ && echo '%%' \ - && echo 'foobar : 'f' 'o' 'o' 'b' 'a' 'r' {};' \ + && echo "foobar : 'f' 'o' 'o' 'b' 'a' 'r' {};" \ && echo '%%' \ ## Account for VPATH issues on weaker make implementations. && cat `test -f '$<' || echo $(srcdir)/`$<; \