diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2006-03-22 02:46:18 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2006-03-22 02:46:18 +0000 |
commit | cfd1633a697a51c117be976293541e310d357c36 (patch) | |
tree | 7c07059a19e4526a1206988c45522613880bf8e6 /regress | |
parent | fd9f7b23f23239b2b457cc7b9cc9182529bb151f (diff) |
The regression test currently fails, which it should. This adds a
check to make sure it fails with an expected error.
Help with make-fu by espie@.
OK otto@
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/cap_mkdb/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/cap_mkdb/Makefile b/regress/usr.bin/cap_mkdb/Makefile index 400a441c152..16b617cb8e0 100644 --- a/regress/usr.bin/cap_mkdb/Makefile +++ b/regress/usr.bin/cap_mkdb/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2006/03/10 05:22:46 ray Exp $ +# $OpenBSD: Makefile,v 1.2 2006/03/22 02:46:17 ray Exp $ CAP_MKDB?= cap_mkdb @@ -6,6 +6,6 @@ REGRESS_TARGETS=shortname CLEANFILES+= *.db shortname: - ${CAP_MKDB} -if shortname ${.CURDIR}/shortname.in + ${CAP_MKDB} -if shortname ${.CURDIR}/shortname.in || case "$$?" in 1) exit 0;; esac && exit 1 .include <bsd.regress.mk> |