/[autoconf]/autoconf/tests/m4sh.at
ViewVC logotype

Diff of /autoconf/tests/m4sh.at

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.35 by akim, Sat Sep 28 14:10:11 2002 UTC revision 1.36 by dprice, Thu Mar 27 13:18:34 2003 UTC
# Line 352  AT_CHECK_M4SH Line 352  AT_CHECK_M4SH
352  AT_CHECK([./script])  AT_CHECK([./script])
353    
354  AT_CLEANUP  AT_CLEANUP
355    
356    ## -------------- ##
357    ## AS_HELP_STRING ##
358    ## -------------- ##
359    
360    # I'm not totally certain that we want to enforce the defaults here,
361    # but at least it is being tested.
362    
363    AT_SETUP([[AS@&t@_HELP_STRING]])
364    
365    AT_DATA_M4SH([script.as],
366    [[AS_INIT
367    _AS_LINENO_PREPARE
368    
369    echo "AS_HELP_STRING([--an-option],[some text])"
370    echo "AS_HELP_STRING([--another-much-longer-option],
371    [some other text which should wrap at our default of 80 characters.])"
372    ]])
373    
374    AT_CHECK_M4SH
375    AT_CHECK([./script], [0],
376    [  --an-option             some text
377      --another-much-longer-option
378                              some other text which should wrap at our default of
379                              80 characters.
380    ])
381    
382    AT_CLEANUP

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26