diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2002-12-05 15:01:10 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2002-12-05 15:01:10 +0000 |
commit | 5b02e404c24d963f81bb8327d8581baf6cf6fc76 (patch) | |
tree | b7cdd95f26160f47d4b55860faa697777aca45ef /regress/sbin/pfctl | |
parent | 1d0b356dbaff6850d6ccd15fbe2edac366249f5d (diff) |
change self test to use pfX.ok as input; ok henning@
Diffstat (limited to 'regress/sbin/pfctl')
-rw-r--r-- | regress/sbin/pfctl/Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile index df087710370..58a32e980bf 100644 --- a/regress/sbin/pfctl/Makefile +++ b/regress/sbin/pfctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.50 2002/12/05 14:14:50 henning Exp $ +# $OpenBSD: Makefile,v 1.51 2002/12/05 15:01:09 markus 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 27 PFTESTS+=28 29 30 31 32 33 34 35 36 37 38 39 @@ -25,13 +25,8 @@ pf${n}: REGRESS_TARGETS+=selfpf${n} selfpf${n}: - if pfctl -nv -f - < ${.CURDIR}/pf${n}.in | \ - pfctl -nvf - > /dev/null; then \ - true ; \ - else \ - pfctl -nv -f - < ${.CURDIR}/pf${n}.in; \ - false; \ - fi + pfctl -nv -f - < ${.CURDIR}/pf${n}.ok | \ + diff -u ${.CURDIR}/pf${n}.ok /dev/stdin .endfor |