summaryrefslogtreecommitdiff
path: root/test/nptl/tst-mqueue7.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-12 14:01:52 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-12 14:01:52 -0600
commitcfdddb3c53213ab6af35364b683de2bf8e8ab05a (patch)
tree903e5de62bccd2d0e4464f620921b6ab1191e1ff /test/nptl/tst-mqueue7.c
parent9728de1929812df84749c9fb044f6f584e044199 (diff)
really fix tests after getopt long changes
uClibc changed getopt handling for testsuite, last merge with uClibc breaked it again for uClibc-ng.
Diffstat (limited to 'test/nptl/tst-mqueue7.c')
-rw-r--r--test/nptl/tst-mqueue7.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/nptl/tst-mqueue7.c b/test/nptl/tst-mqueue7.c
index d3ea2b7c8..1892f951a 100644
--- a/test/nptl/tst-mqueue7.c
+++ b/test/nptl/tst-mqueue7.c
@@ -32,9 +32,10 @@
static mqd_t after_exec = (mqd_t) -1;
#define CMDLINE_OPTIONS \
- { "after-exec", required_argument, NULL, OPT_AFTEREXEC },
+ "a:"
+
#define CMDLINE_PROCESS \
- case OPT_AFTEREXEC: \
+ case 'a': \
after_exec = (mqd_t) strtoul (optarg, NULL, 0); \
break;