diff options
| author | cvs2svn <admin@example.com> | 2018-11-07 01:08:50 +0000 |
|---|---|---|
| committer | cvs2svn <admin@example.com> | 2018-11-07 01:08:50 +0000 |
| commit | 2035faf3f8aa95b888d9416c3cc7328c0ea18beb (patch) | |
| tree | f08a08d357c5d30455c569890f747c1d9b241316 /src/regress/lib/libc/mkstemp/Makefile | |
| parent | be03b61c1b8f59ccdd34dbe5f6c6b30de697d28b (diff) | |
| download | openbsd-bluhm_20181106.tar.gz openbsd-bluhm_20181106.tar.bz2 openbsd-bluhm_20181106.zip | |
This commit was manufactured by cvs2git to create tag 'bluhm_20181106'.bluhm_20181106
Diffstat (limited to 'src/regress/lib/libc/mkstemp/Makefile')
| -rw-r--r-- | src/regress/lib/libc/mkstemp/Makefile | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/regress/lib/libc/mkstemp/Makefile b/src/regress/lib/libc/mkstemp/Makefile deleted file mode 100644 index dc7eb281a9..0000000000 --- a/src/regress/lib/libc/mkstemp/Makefile +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.1 2010/02/11 07:35:38 guenther Exp $ | ||
| 2 | |||
| 3 | PROG=mkstemp_test | ||
| 4 | CLEANFILES+= ; rm -rf output | ||
| 5 | |||
| 6 | O = output | ||
| 7 | |||
| 8 | # The ktrace/kdump/perl combo verifies that all open() calls that | ||
| 9 | # were passed O_CREAT were also passed O_EXCL | ||
| 10 | run-regress-${PROG}: ${PROG} | ||
| 11 | mkdir -p $O && cd $O && ktrace ../${PROG} | ||
| 12 | cd $O && kdump | perl -mFcntl -nl \ | ||
| 13 | -e '/ open\([^,]*,([^,]+)/ or next;' \ | ||
| 14 | -e '$$f = oct($$1);' \ | ||
| 15 | -e 'if ($$f & O_CREAT && !($$f & O_EXCL)) {' \ | ||
| 16 | -e ' print "FAIL"; exit 1' \ | ||
| 17 | -e '}' | ||
| 18 | |||
| 19 | .include <bsd.regress.mk> | ||
