diff options
| author | millert <> | 2002-12-07 19:57:24 +0000 |
|---|---|---|
| committer | millert <> | 2002-12-07 19:57:24 +0000 |
| commit | d364cd2a62331a9116bb48fdbf5c81abc715df85 (patch) | |
| tree | 3710535217ca7deac2132bd5c56a9695b496065a /src/regress/lib/libc/getopt_long/Makefile | |
| parent | 7e5971005fab07ef2db960f8da4f61cae4f73db5 (diff) | |
| download | openbsd-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/Makefile')
| -rw-r--r-- | src/regress/lib/libc/getopt_long/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/regress/lib/libc/getopt_long/Makefile b/src/regress/lib/libc/getopt_long/Makefile index b5dd343537..7729261079 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.2 2002/12/05 22:29:46 millert Exp $ | 1 | # $OpenBSD: Makefile,v 1.3 2002/12/07 19:57:24 millert Exp $ |
| 2 | 2 | ||
| 3 | NOMAN= | 3 | NOMAN= |
| 4 | PROG=getopt_long_test | 4 | PROG=getopt_long_test |
| @@ -9,18 +9,22 @@ run-regress-${PROG}: ${PROG} | |||
| 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 -Williterate -i foo.in threefile ; \ | 11 | ./${PROG} onefile twofile --best -Williterate -i foo.in threefile ; \ |
| 12 | ./${PROG} -1bfast ; \ | ||
| 12 | ./${PROG} --fast --drinking=guiness -i foo.in somefile ; \ | 13 | ./${PROG} --fast --drinking=guiness -i foo.in somefile ; \ |
| 13 | export POSIXLY_CORRECT=1 ; \ | 14 | export POSIXLY_CORRECT=1 ; \ |
| 14 | ./${PROG} myfile --force -f infile -9 ; \ | 15 | ./${PROG} myfile --force -f infile -9 ; \ |
| 15 | ./${PROG} onefile twofile --best -Williterate -i foo.in threefile ; \ | 16 | ./${PROG} onefile twofile --best -Williterate -i foo.in threefile ; \ |
| 17 | ./${PROG} -1bfast ; \ | ||
| 16 | ./${PROG} --fast --drinking=guiness -i foo.in somefile ; \ | 18 | ./${PROG} --fast --drinking=guiness -i foo.in somefile ; \ |
| 17 | unset POSIXLY_CORRECT ; export LONG_ONLY=1 ; \ | 19 | unset POSIXLY_CORRECT ; export LONG_ONLY=1 ; \ |
| 18 | ./${PROG} myfile -force -f infile -9 ; \ | 20 | ./${PROG} myfile -force -f infile -9 ; \ |
| 19 | ./${PROG} onefile twofile -best -Williterate -i foo.in threefile ; \ | 21 | ./${PROG} onefile twofile -best -Williterate -i foo.in threefile ; \ |
| 22 | ./${PROG} -1bfast ; \ | ||
| 20 | ./${PROG} --fast -drinking=guiness -i foo.in somefile ; \ | 23 | ./${PROG} --fast -drinking=guiness -i foo.in somefile ; \ |
| 21 | export POSIXLY_CORRECT=1 ; \ | 24 | export POSIXLY_CORRECT=1 ; \ |
| 22 | ./${PROG} myfile -force -f infile -9 ; \ | 25 | ./${PROG} myfile -force -f infile -9 ; \ |
| 23 | ./${PROG} onefile twofile -best -Williterate -i foo.in threefile ; \ | 26 | ./${PROG} onefile twofile -best -Williterate -i foo.in threefile ; \ |
| 27 | ./${PROG} -1bfast ; \ | ||
| 24 | ./${PROG} --fast -drinking=guiness -i foo.in somefile ) >test.out 2>&1 | 28 | ./${PROG} --fast -drinking=guiness -i foo.in somefile ) >test.out 2>&1 |
| 25 | cmp -s ${.OBJDIR}/test.out ${.CURDIR}/test.ok | 29 | cmp -s ${.OBJDIR}/test.out ${.CURDIR}/test.ok |
| 26 | 30 | ||
