From 73c41a1f3bbb8dc00bd6d35c879e88ee6d1922b9 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Mon, 23 Mar 2020 03:01:21 +0000 Subject: Add a test program for getopt(3) that is adequate for manual testing and a compact test suite for getopt(3) intended automated regression testing, both written from scratch. The suite is intended to provide full coverage, except that it doesn't test manual changes of optind and optreset and except that it so far avoids the situation where we have a known bug. --- src/regress/lib/libc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/regress/lib/libc/Makefile') diff --git a/src/regress/lib/libc/Makefile b/src/regress/lib/libc/Makefile index b1a55f1c1f..3d0712f951 100644 --- a/src/regress/lib/libc/Makefile +++ b/src/regress/lib/libc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.54 2020/01/13 15:35:57 bluhm Exp $ +# $OpenBSD: Makefile,v 1.55 2020/03/23 03:01:21 schwarze Exp $ SUBDIR+= _setjmp SUBDIR+= alloca arc4random-fork atexit @@ -7,7 +7,7 @@ SUBDIR+= cephes cxa-atexit SUBDIR+= db dirname SUBDIR+= env explicit_bzero SUBDIR+= fmemopen fnmatch fpclassify fread -SUBDIR+= gcvt getaddrinfo getcap getopt_long glob +SUBDIR+= gcvt getaddrinfo getcap getopt getopt_long glob SUBDIR+= hsearch SUBDIR+= ieeefp ifnameindex SUBDIR+= ldexp locale longjmp -- cgit v1.2.3-55-g6feb