summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorray <ray@openbsd.org>2006-03-22 02:46:17 +0000
committerray <ray@openbsd.org>2006-03-22 02:46:17 +0000
commit99f6665cd9da4c10b22c9b21dc3500aca9c55197 (patch)
treedc46c565b967265d28c200691d9996487605e390
parentSimplify cgetnext(3) by using strcspn(3). (diff)
downloadwireguard-openbsd-99f6665cd9da4c10b22c9b21dc3500aca9c55197.tar.xz
wireguard-openbsd-99f6665cd9da4c10b22c9b21dc3500aca9c55197.zip
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@
-rw-r--r--regress/usr.bin/cap_mkdb/Makefile4
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>