[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 15autotest-more-info-prettier.diff
From: |
gary |
Subject: |
Re: 15autotest-more-info-prettier.diff |
Date: |
Thu, 14 Aug 2003 13:30:43 +0100 |
User-agent: |
Demon-WebMail/2.0 |
address@hidden wrote:
> + $at_quiet $ECHO_N "m4_format([[%3d: %-45s]],
> + AT_ordinal, [$1])[]$ECHO_C"
The above line is overquoted, and should read:
+ AT_ordinal, $1)[]$ECHO_C"
Consider: I want to create a test group called `divert'.
AT_SETUP([divert])
But m4 will cause the divert builtin to be called on rereading, so I double
quote it:
AT_SETUP([[divert]])
with the overquoted $1 in the patch as is, we end up with three quote levels,
and the test group will display as:
1: [divert] ok
I think the same problem would occur if you had a comma, or $1 in the group
name and needed to double quote the argument to AT_SETUP to prevent m4 from
misbehaving when rereading.
Cheers,
Gary.
- 15autotest-more-info-prettier.diff, derek, 2003/08/13
- Re: 15autotest-more-info-prettier.diff, Paul Eggert, 2003/08/13
- Re: 15autotest-more-info-prettier.diff, Derek Robert Price, 2003/08/14
- Re: 15autotest-more-info-prettier.diff,
gary <=
- Re: 15autotest-more-info-prettier.diff, Akim Demaille, 2003/08/14
- Re: 15autotest-more-info-prettier.diff, gary, 2003/08/15
- Re: 15autotest-more-info-prettier.diff, Paul Eggert, 2003/08/15
- Re: 15autotest-more-info-prettier.diff, Akim Demaille, 2003/08/18
- Re: 15autotest-more-info-prettier.diff, Akim Demaille, 2003/08/18