diff options
author | 2007-09-19 22:45:04 +0000 | |
---|---|---|
committer | 2007-09-19 22:45:04 +0000 | |
commit | 2fc65382abf4eb816d511beddacfead2216be561 (patch) | |
tree | 997cb7de899d92fb11c93b83186795da2623b4d5 | |
parent | revert previous; still need sys/malloc.h for free(9) and friends here (diff) | |
download | wireguard-openbsd-2fc65382abf4eb816d511beddacfead2216be561.tar.xz wireguard-openbsd-2fc65382abf4eb816d511beddacfead2216be561.zip |
Fix and re-enable tests for interface->address translation.
OK henning
-rw-r--r-- | regress/sbin/pfctl/Makefile | 8 | ||||
-rw-r--r-- | regress/sbin/pfctl/if2ip | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile index afd0cc7512a..804caac5959 100644 --- a/regress/sbin/pfctl/Makefile +++ b/regress/sbin/pfctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.197 2007/08/30 12:24:28 dhartmei Exp $ +# $OpenBSD: Makefile,v 1.198 2007/09/19 22:45:04 mpf Exp $ # TARGETS # pf: feed pfNN.in through pfctl and check wether the output matches pfNN.ok @@ -202,9 +202,9 @@ pfi${n}-update: pfi: ${PFI_TARGETS} pfi-update: ${PFI_UPDATES} -# REGRESS_TARGETS+=pfi -# REGRESS_ROOT_TARGETS+=pfi -# UPDATE_TARGETS+=pfi-update +REGRESS_TARGETS+=pfi +REGRESS_ROOT_TARGETS+=pfi +UPDATE_TARGETS+=pfi-update .for n in ${PFOPT} PFOPT_TARGETS+=pfopt${n} diff --git a/regress/sbin/pfctl/if2ip b/regress/sbin/pfctl/if2ip index fdf86cd30c2..0b9236ef61c 100644 --- a/regress/sbin/pfctl/if2ip +++ b/regress/sbin/pfctl/if2ip @@ -17,10 +17,10 @@ kernel_spec() { } if2ip_kernel() { - T=`echo "pass in on tun100 from $1" | pfctl -a _regress/if2ip -f- \ + T=`echo "pass in on tun100 from $1" | pfctl -a regress/if2ip -f- \ -vf- | awk '{ print $6}' | tr -d "()"` pfctl -a _pf -t "$T" -Ts | sort - pfctl -a _regress/if2ip -qFr + pfctl -a regress/if2ip -qFr } while [ "X$1" != "X" ]; do |