CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2020/03/22 21:01:21
Modified files: regress/lib/libc: Makefile Added files: regress/lib/libc/getopt: Makefile getopt-test.c getopt.sh Log message: 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.