From 08ec26170a7f0ea104be2d6cdd848ce7664682c4 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Wed, 18 Sep 2002 08:57:10 +0000 Subject: new kind of pfctl regression tests: we have stuff we cannot test in our regression tests as of now as the pfctl -nvf output varies depending on the machine config - esp. network interfaces et all. But we can at least test wether pfctl eats the syntax. add a test for the "self" keyword. ok markus@ --- regress/sbin/pfctl/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'regress/sbin/pfctl/Makefile') diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile index 6193de55865..c46bcb7a8bd 100644 --- a/regress/sbin/pfctl/Makefile +++ b/regress/sbin/pfctl/Makefile @@ -1,7 +1,8 @@ -# $OpenBSD: Makefile,v 1.30 2002/09/15 17:41:43 henning Exp $ +# $OpenBSD: Makefile,v 1.31 2002/09/18 08:57:09 henning Exp $ PFTESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 PFFAIL=1 2 3 4 5 6 7 8 9 10 11 12 13 14 +PFSIMPLE=1 .for n in ${PFFAIL} REGRESS_TARGETS+=pfail${n} @@ -22,6 +23,14 @@ pf${n}: .endfor +.for n in ${PFSIMPLE} +REGRESS_TARGETS+=pfsimple${n} + +pfsimple${n}: + pfctl -nf - < ${.CURDIR}/pfsimple${n}.in + +.endfor + .PHONY: ${REGRESS_TARGETS} .include -- cgit v1.2.3