helpAutoconf - Support: sr #106943, autotest macros require double...

 
 

sr #106943: autotest macros require double quotes now

Submitted by:  Adam Borowski <kilobyte>
Submitted on:  Wed 22 Jul 2009 09:01:39 PM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: Done
Privacy: PublicAssigned to: Eric Blake <ericb>
Open/Closed: OpenOperating System: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 23 Jul 2009 11:56:03 AM UTC, comment #1:

In general, you should always consider double-quoting anything that might be special to m4 (which # is). But for this particular report, we have already fixed this, and it is now covered in the testsuite (make check TESTSUITEFLAGS='-k pound').

http://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=779112

Eric Blake <ericb>
Project AdministratorIn charge of this item.
Wed 22 Jul 2009 09:01:39 PM UTC, original submission:

If autotest macros like AT_SETUP receive an argument that contains non-kosher characters, autotest fails unless the argument is quoted twice.

For example, in a project where commands start with hash, many test descriptions include the hash character. AT_SETUP([#blah]) used to work in autoconf 2.61, in 2.63 it doesn't anymore -- AT_SETUP([[#blah]]) is required.

Adam Borowski <kilobyte>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ericb (Posted a comment)
  • -unavailable- added by kilobyte (Submitted the item)
  • -unavailable- added by kilobyte
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 23 Jul 2009 11:56:03 AM UTCericbStatusNone=>Done
      Assigned toNone=>ericb
    Wed 22 Jul 2009 09:01:39 PM UTCkilobyteCarbon-Copy-=>Added kilobyte

    Back to the top


    Powered by Savane 3.1-cleanup