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

 
 

sr #106943: autotest macros require double quotes now

Submitter:  Adam Borowski <kilobyte>
Submitted:  Wed 22 Jul 2009 09:01:39 PM UTC
   
 
Priority:  * 5 - Unprioritized Severity:  3 - Normal
Status:  Done Privacy:  Public
Assigned to:  ericb Open/Closed:  Closed
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 10 Jul 2020 03:28:33 PM UTC, comment #2: 

This was fixed a long time ago.

Zack Weinberg <zackw>
Group administrator
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>
Group administrator
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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-07-10 zackw Open/ClosedOpen Closed
    2009-07-23 ericb StatusNone Done
        Assigned toNone ericb
    2009-07-22 kilobyte Carbon-Copy- Added kilobyte

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code