summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/getopt_long/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libc/getopt_long/Makefile')
-rw-r--r--src/regress/lib/libc/getopt_long/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/regress/lib/libc/getopt_long/Makefile b/src/regress/lib/libc/getopt_long/Makefile
index 5237d82dd2..b5dd343537 100644
--- a/src/regress/lib/libc/getopt_long/Makefile
+++ b/src/regress/lib/libc/getopt_long/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.1 2002/12/05 21:42:17 millert Exp $ 1# $OpenBSD: Makefile,v 1.2 2002/12/05 22:29:46 millert Exp $
2 2
3NOMAN= 3NOMAN=
4PROG=getopt_long_test 4PROG=getopt_long_test
@@ -8,20 +8,20 @@ run-regress-${PROG}: ${PROG}
8 @( test -n "$$POSIXLY_CORRECT" && unset POSIXLY_CORRECT; \ 8 @( test -n "$$POSIXLY_CORRECT" && unset POSIXLY_CORRECT; \
9 test -n "$$LONG_ONLY" && unset LONG_ONLY; \ 9 test -n "$$LONG_ONLY" && unset LONG_ONLY; \
10 ./${PROG} myfile --force -f infile -9 ; \ 10 ./${PROG} myfile --force -f infile -9 ; \
11 ./${PROG} onefile twofile --best --illiterate -i foo.in threefile ; \ 11 ./${PROG} onefile twofile --best -Williterate -i foo.in threefile ; \
12 ./${PROG} --fast --drinking guiness -i foo.in somefile ; \ 12 ./${PROG} --fast --drinking=guiness -i foo.in somefile ; \
13 export POSIXLY_CORRECT=1 ; \ 13 export POSIXLY_CORRECT=1 ; \
14 ./${PROG} myfile --force -f infile -9 ; \ 14 ./${PROG} myfile --force -f infile -9 ; \
15 ./${PROG} onefile twofile --best --illiterate -i foo.in threefile ; \ 15 ./${PROG} onefile twofile --best -Williterate -i foo.in threefile ; \
16 ./${PROG} --fast --drinking guiness -i foo.in somefile ; \ 16 ./${PROG} --fast --drinking=guiness -i foo.in somefile ; \
17 unset POSIXLY_CORRECT ; export LONG_ONLY=1 ; \ 17 unset POSIXLY_CORRECT ; export LONG_ONLY=1 ; \
18 ./${PROG} myfile -force -f infile -9 ; \ 18 ./${PROG} myfile -force -f infile -9 ; \
19 ./${PROG} onefile twofile --best -illiterate -i foo.in threefile ; \ 19 ./${PROG} onefile twofile -best -Williterate -i foo.in threefile ; \
20 ./${PROG} --fast -drinking guiness -i foo.in somefile ; \ 20 ./${PROG} --fast -drinking=guiness -i foo.in somefile ; \
21 export POSIXLY_CORRECT=1 ; \ 21 export POSIXLY_CORRECT=1 ; \
22 ./${PROG} myfile -force -f infile -9 ; \ 22 ./${PROG} myfile -force -f infile -9 ; \
23 ./${PROG} onefile twofile --best -illiterate -i foo.in threefile ; \ 23 ./${PROG} onefile twofile -best -Williterate -i foo.in threefile ; \
24 ./${PROG} --fast -drinking guiness -i foo.in somefile ) >test.out 2>&1 24 ./${PROG} --fast -drinking=guiness -i foo.in somefile ) >test.out 2>&1
25 cmp -s ${.OBJDIR}/test.out ${.CURDIR}/test.ok 25 cmp -s ${.OBJDIR}/test.out ${.CURDIR}/test.ok
26 26
27.include <bsd.regress.mk> 27.include <bsd.regress.mk>