diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-03-11 15:05:54 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-03-11 15:05:54 +0000 |
commit | bd8ae7f6e8dc0f75f2f2bc430489a35965a2c5d7 (patch) | |
tree | 500f385b056c19ab7ddacd395841bbf60013512c /regress/sbin/pfctl | |
parent | 4d44de360568b363900c6887a998e1e15d8ab392 (diff) |
include pfctl -gsr output in the verification for the pfaltq tests
Diffstat (limited to 'regress/sbin/pfctl')
-rw-r--r-- | regress/sbin/pfctl/Makefile | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile index c065f81e7f1..4e9e43a421a 100644 --- a/regress/sbin/pfctl/Makefile +++ b/regress/sbin/pfctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.114 2003/03/11 12:00:07 henning Exp $ +# $OpenBSD: Makefile,v 1.115 2003/03/11 15:05:53 henning Exp $ # TARGETS # pf: feed pfNN.in through pfctl and check wether the output matches pfNN.ok @@ -181,15 +181,19 @@ PFALTQ_TARGETS+=pfaltq${n} PFALTQ_UPDATES+=pfaltq${n}-update pfaltq${n}: - ${SUDO} pfctl -Fq -f - < ${.CURDIR}/pfaltq${n}.in - ${SUDO} pfctl -gsq | \ + ${SUDO} pfctl -Fa >/dev/null 2>&1 + ${SUDO} pfctl -f - < ${.CURDIR}/pfaltq${n}.in + ( ${SUDO} pfctl -gsq; \ + ${SUDO} pfctl -gsr ) | \ diff -u ${.CURDIR}/pfaltq${n}.ok /dev/stdin - ${SUDO} pfctl -Fq >/dev/null 2>&1 + ${SUDO} pfctl -Fa >/dev/null 2>&1 pfaltq${n}-update: - ${SUDO} pfctl -Fq -f - < ${.CURDIR}/pfaltq${n}.in - ${SUDO} pfctl -gsq > ${.CURDIR}/pfaltq${n}.ok - ${SUDO} pfctl -Fq >/dev/null 2>&1 + ${SUDO} pfctl -Fa >/dev/null 2>&1 + ${SUDO} pfctl -f - < ${.CURDIR}/pfaltq${n}.in + ( ${SUDO} pfctl -gsq; \ + ${SUDO} pfctl -gsr ) > ${.CURDIR}/pfaltq${n}.ok + ${SUDO} pfctl -Fa >/dev/null 2>&1 .endfor |