Hello Mike, * Mike Frysinger wrote on Fri, Jun 22, 2007 at 08:09:10AM CEST: > i was converting another project to autotest when i hit a test failure due to > trailing whitespace mismatch ... consider this: > AT_SETUP(white) > AT_CHECK([echo "WHITESPACE: "], [0], [dnl > WHITESPACE: > ]) > > will result in a test failure as trailing whitespace is stripped from the > expected stdout when generating the testsuite file but the command run still > produces the trailing whitespace ;(
Yes. This is intented, albeit maybe arguable. Quoting `(autoconf.info)Quadrigraphs': | The empty quadrigraph can be used: | | - to mark trailing spaces explicitly | | Trailing spaces are smashed by `autom4te'. This is a feature. So you can use WHITESPACE: @&t@ Hope that helps. Cheers, Ralf