diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-03-08 21:05:57 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-03-08 21:05:57 +0000 |
commit | da2e16423c04fba09a50979dc3d66049a0ba9eed (patch) | |
tree | 74a21ffadee362206b3d84996f3465f687da288d /test | |
parent | f0d5c576f73efed254eaa77ad270afa6efe6026c (diff) |
getopt_long-simple behaves as gnu getopt if POSIXLY_CORRECT is set, adapt test
Diffstat (limited to 'test')
-rw-r--r-- | test/unistd/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unistd/Makefile b/test/unistd/Makefile index 049ca54ce..b3f5c1a8d 100644 --- a/test/unistd/Makefile +++ b/test/unistd/Makefile @@ -5,4 +5,9 @@ include ../Test.mak OPTS_getopt := -abcXXX -9 OPTS_getopt_long := --add XXX --delete YYY --verbose +ifeq ($(UCLIBC_HAS_GNU_GETOPT),y) OPTS_tstgetopt := -a -b -cfoobar --required foobar --optional=bazbug --none random --col --color --colour +else +# reordering is not supported, behaves as if POSIXLY_CORRECT would be set +OPTS_tstgetopt := -a -b -cfoobar --required foobar --optional=bazbug --none --colou --color --colour random +endif |