summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Pfatschbacher <mpf@cvs.openbsd.org>2007-09-19 12:54:53 +0000
committerMarco Pfatschbacher <mpf@cvs.openbsd.org>2007-09-19 12:54:53 +0000
commit10c2243dcbe8a78c9b9d6d47cd7c3c515e4265fe (patch)
treeeb1f79b2b6d36979f9ca3ca9e7163f6c2f3a1d3a
parent1222906e76b9a9e3187eba236e163a2cf6d6074d (diff)
pfctl seems to report errors when accessing empty tables,
in a different manner now. Use "-T show" now. OK henning
-rw-r--r--regress/sbin/pfctl/pfr12.in4
-rw-r--r--regress/sbin/pfctl/pfr12.ok14
2 files changed, 6 insertions, 12 deletions
diff --git a/regress/sbin/pfctl/pfr12.in b/regress/sbin/pfctl/pfr12.in
index d46c89b18d3..82be321392a 100644
--- a/regress/sbin/pfctl/pfr12.in
+++ b/regress/sbin/pfctl/pfr12.in
@@ -1,14 +1,14 @@
# hidden tables created by rules
pass list
pass kill
-pass list
+pass show
pass rule pass in from <regress> to any
pass list
pass list
pass rule
pass list
pass kill
-pass list
+pass show
pass rule pass in from <regress> to any
pass list
pass load table <regress> persist
diff --git a/regress/sbin/pfctl/pfr12.ok b/regress/sbin/pfctl/pfr12.ok
index d1b9cbeae26..d33ebf3c16b 100644
--- a/regress/sbin/pfctl/pfr12.ok
+++ b/regress/sbin/pfctl/pfr12.ok
@@ -5,10 +5,8 @@ regress
-pa--- regress regress
# pass kill
1 table deleted.
-# pass list
-pfctl: Anchor or Ruleset does not exist.
-# pass list -v
-pfctl: Anchor or Ruleset does not exist.
+# pass show
+pfctl: Table does not exist.
# pass rule pass in from <regress> to any
# pass list
# pass list -v
@@ -18,15 +16,11 @@ pfctl: Anchor or Ruleset does not exist.
----r- regress regress
# pass rule
# pass list
-pfctl: Anchor or Ruleset does not exist.
# pass list -v
-pfctl: Anchor or Ruleset does not exist.
# pass kill
0 table deleted.
-# pass list
-pfctl: Anchor or Ruleset does not exist.
-# pass list -v
-pfctl: Anchor or Ruleset does not exist.
+# pass show
+pfctl: Table does not exist.
# pass rule pass in from <regress> to any
# pass list
# pass list -v