diff options
| author | cvs2svn <admin@example.com> | 2012-07-13 17:49:56 +0000 |
|---|---|---|
| committer | cvs2svn <admin@example.com> | 2012-07-13 17:49:56 +0000 |
| commit | ee04221ea8063435416c7e6369e6eae76843aa71 (patch) | |
| tree | 821921a1dd0a5a3cece91121e121cc63c4b68128 /src/regress/lib/libc/sleep/Makefile | |
| parent | adf6731f6e1d04718aee00cb93435143046aee9a (diff) | |
| download | openbsd-eric_g2k12.tar.gz openbsd-eric_g2k12.tar.bz2 openbsd-eric_g2k12.zip | |
This commit was manufactured by cvs2git to create tag 'eric_g2k12'.eric_g2k12
Diffstat (limited to 'src/regress/lib/libc/sleep/Makefile')
| -rw-r--r-- | src/regress/lib/libc/sleep/Makefile | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/regress/lib/libc/sleep/Makefile b/src/regress/lib/libc/sleep/Makefile deleted file mode 100644 index 3700b1662a..0000000000 --- a/src/regress/lib/libc/sleep/Makefile +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.1 2009/12/14 05:08:19 guenther Exp $ | ||
| 2 | |||
| 3 | NOMAN= | ||
| 4 | PROG=sleep_test | ||
| 5 | CPPFLAGS+=-I${.CURDIR}/../../../../lib/libc | ||
| 6 | |||
| 7 | run-regress-${PROG}: ${PROG} | ||
| 8 | [ x$$(./${PROG} 1) = x0 ] || exit 1 | ||
| 9 | file=$$(mktemp -t sleep.XXXXXXXXXX); ./${PROG} 4 >$$file & pid=$$!; \ | ||
| 10 | sleep 1; kill $$pid; sleep 1; v=$$(cat $$file); rm -f $$file; \ | ||
| 11 | { [ $$v -gt 0 ] && [ $$v -lt 4 ] ; } || exit 2 | ||
| 12 | |||
| 13 | .include <bsd.regress.mk> | ||
