diff options
author | Marco Pfatschbacher <mpf@cvs.openbsd.org> | 2005-05-27 21:34:04 +0000 |
---|---|---|
committer | Marco Pfatschbacher <mpf@cvs.openbsd.org> | 2005-05-27 21:34:04 +0000 |
commit | a94fa507f29b407b8c1ac89197a8be450abe1193 (patch) | |
tree | 5d0fc78b1cb56b9683ba1aa2eb65cb77f78777e3 | |
parent | fa7d3c47fe809ea9cba8df17fa60dddaace54b58 (diff) |
sync pf table test with new ksh behaviour.
ok henning@
-rw-r--r-- | regress/sbin/pfctl/pfr.exec | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/regress/sbin/pfctl/pfr.exec b/regress/sbin/pfctl/pfr.exec index 01409ea82e1..d83ac820753 100644 --- a/regress/sbin/pfctl/pfr.exec +++ b/regress/sbin/pfctl/pfr.exec @@ -1,13 +1,13 @@ #!/bin/ksh D=`dirname $1` -A='regress' +A='regress:regress' pfctl -a $A -FT 2>/dev/null pfctl -a $A -Fr 2>/dev/null pfctl -a $A -Fn 2>/dev/null -KT_A=0`vmstat -m | awk '/pfrktable/{print $3}'` -KT_R=0`vmstat -m | awk '/pfrktable/{print $5}'` -KE_A=0`vmstat -m | awk '/pfrkentry/{print $3}'` -KE_R=0`vmstat -m | awk '/pfrkentry/{print $5}'` +KT_A=`vmstat -m | awk '/pfrktable/{print $3}'` +KT_R=`vmstat -m | awk '/pfrktable/{print $5}'` +KE_A=`vmstat -m | awk '/pfrkentry/{print $3}'` +KE_R=`vmstat -m | awk '/pfrkentry/{print $5}'` echo "# create" echo "table <regress> persist" | pfctl -a $A -Tl -f - 2>&1 || exit 1 for LINE in `sed -e "s/ /_/g" $1`; do |