diff options
author | Adam Wolk <awolk@cvs.openbsd.org> | 2017-07-15 15:59:53 +0000 |
---|---|---|
committer | Adam Wolk <awolk@cvs.openbsd.org> | 2017-07-15 15:59:53 +0000 |
commit | 9ad88af71d5ec604408f94a206c5c5e474c09db3 (patch) | |
tree | 0aa8ef69cd9a7e5df8a39bbc6fa508e97c771b00 /regress | |
parent | ac0a908aa4b3eed3a78ac1288b57071ac340d00e (diff) |
regress/sbin/pfctl - use -n for pfcmd group
Passing in the -n which just results in the rules being parsed.
The definition for the pfctlcmd testing group in the Makefile is:
# pfcmd: test pfctl command line parsing
This test passeed only because pfctl didn't exit with an error
when it was asked to clear tables from a non existing anchor.
with the -n flag we still test if the anchor command can be combined
with -Fa but don't actually attempt to run the clearing code.
OK mikeb@, sashan@
Diffstat (limited to 'regress')
-rw-r--r-- | regress/sbin/pfctl/pfcmd1.opts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/sbin/pfctl/pfcmd1.opts b/regress/sbin/pfctl/pfcmd1.opts index 133502ee109..1cc178a61e7 100644 --- a/regress/sbin/pfctl/pfcmd1.opts +++ b/regress/sbin/pfctl/pfcmd1.opts @@ -1 +1 @@ --a regress/does_not_exist -Fa +-n -a regress/does_not_exist -Fa |