Change tests/output.at quoting.

* tests/output.at (AT_CHECK_OUTPUT): Use conventional m4 quoting when
expanding arguments.
This commit is contained in:
Paolo Bonzini
2008-11-03 11:04:40 +01:00
parent d9a9b96bb5
commit bbf9ca3740
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2008-11-09 Paolo Bonzini <bonzini@gnu.org>
Change tests/output.at quoting.
* tests/output.at (AT_CHECK_OUTPUT): Use conventional m4 quoting when
expanding arguments.
2008-11-07 Joel E. Denny <jdenny@ces.clemson.edu> 2008-11-07 Joel E. Denny <jdenny@ces.clemson.edu>
Don't add a semicolon to actions for %skeleton or %language. Don't add a semicolon to actions for %skeleton or %language.

View File

@@ -22,14 +22,14 @@ AT_BANNER([[Output file names.]])
# [ADDITIONAL-TESTS]) # [ADDITIONAL-TESTS])
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
m4_define([AT_CHECK_OUTPUT], m4_define([AT_CHECK_OUTPUT],
[AT_SETUP([[Output files: $2 $3 $5]]) [AT_SETUP([[Output files: ]$2 $3 $5])
for file in $1 $4; do for file in $1 $4; do
case "$file" in case "$file" in
*/*) mkdir -p `echo "$file" | sed 's,/.*,,'`;; */*) mkdir -p `echo "$file" | sed 's,/.*,,'`;;
esac esac
done done
AT_DATA([$1], AT_DATA([$1],
[[$2 [$2[
%% %%
foo: {}; foo: {};
]]) ]])