Mercurial > hg > octave-lojdl > gnulib-hg
diff modules/getopt-posix-tests @ 12124:ddffc79e6aa1
getopt-gnu: add another test
Ensure that POSIXLY_CORRECT does not interfere with optional argument
behavior; older BSD implementations botched this.
* tests/test-getopt_long.h (test_getopt_long_posix): New test, to
guarantee behavior relied on by m4.
* tests/test-getopt.c (main): Use it.
* modules/getopt-posix-tests (Depends-on): Add setenv.
See http://lists.gnu.org/archive/html/bug-m4/2006-09/msg00028.html.
Signed-off-by: Eric Blake <ebb9@byu.net>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Tue, 06 Oct 2009 14:29:13 -0600 |
parents | 0c06eef5cb3b |
children | 9f4c9181d1d6 |
line wrap: on
line diff