summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/getopt_long/getopt_long_test.c
diff options
context:
space:
mode:
authormillert <>2002-12-07 19:57:24 +0000
committermillert <>2002-12-07 19:57:24 +0000
commitd364cd2a62331a9116bb48fdbf5c81abc715df85 (patch)
tree3710535217ca7deac2132bd5c56a9695b496065a /src/regress/lib/libc/getopt_long/getopt_long_test.c
parent7e5971005fab07ef2db960f8da4f61cae4f73db5 (diff)
downloadopenbsd-d364cd2a62331a9116bb48fdbf5c81abc715df85.tar.gz
openbsd-d364cd2a62331a9116bb48fdbf5c81abc715df85.tar.bz2
openbsd-d364cd2a62331a9116bb48fdbf5c81abc715df85.zip
Add test for fix in revision 1.5 of getopt_long.c
Diffstat (limited to 'src/regress/lib/libc/getopt_long/getopt_long_test.c')
-rw-r--r--src/regress/lib/libc/getopt_long/getopt_long_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/regress/lib/libc/getopt_long/getopt_long_test.c b/src/regress/lib/libc/getopt_long/getopt_long_test.c
index acd25fb749..b15613d982 100644
--- a/src/regress/lib/libc/getopt_long/getopt_long_test.c
+++ b/src/regress/lib/libc/getopt_long/getopt_long_test.c
@@ -75,6 +75,7 @@ main(int argc, char **argv)
75 case '1': 75 case '1':
76 case '9': 76 case '9':
77 case 'h': 77 case 'h':
78 case 'b':
78 if (idx != -1) { 79 if (idx != -1) {
79 if (goggles == 42) 80 if (goggles == 42)
80 printf("option %s, arg %s\n", 81 printf("option %s, arg %s\n",