freebsd-dev/sbin/pfctl/tests/files/pfctl_test_descr.sh
Kristof Provost 4d7709ddf6 pfctl parser tests
Copy the most important test cases from OpenBSD's corresponding
src/regress/sbin/pfctl, those that run pfctl on a test input file and check
correctness of its output. We have also added some new tests using the same
format.

The tests consist of a collection of input files (pf*.in) and
corresponding output files (pf*.ok). We run pfctl -nv on the input
files and check that the output matches the output files. If any
discrepancy is discovered during future development in the source
tree, we know that a regression bug has been introduced into the tree.

Submitted by:	paggas
Sponsored by:	Google, Inc (GSoC 2017)
Differential Revision:	https://reviews.freebsd.org/D11322
2017-07-15 19:22:01 +00:00

82 lines
3.5 KiB
Bash
Executable File

# $FreeBSD$
# atf-sh, to be sourced by run.sh
pf0001_descr () { echo "Pass with labels" ; }
pf0002_descr () { echo "Block/pass" ; }
pf0003_descr () { echo "Block/pass with flags" ; }
pf0004_descr () { echo "Block" ; }
pf0005_descr () { echo "Block with variables" ; }
pf0006_descr () { echo "Variables" ; }
pf0007_descr () { echo "Block/pass with return" ; }
pf0008_descr () { echo "Block with address list" ; }
pf0009_descr () { echo "Block with interface list" ; }
pf0010_descr () { echo "Block/pass with return" ; }
pf0011_descr () { echo "Block/pass ICMP" ; }
pf0012_descr () { echo "Pass to subnets" ; }
pf0013_descr () { echo "Pass quick" ; }
pf0014_descr () { echo "Pass quick IPv6" ; }
pf0016_descr () { echo "Pass with no state" ; }
pf0018_descr () { echo "Address lists" ; }
pf0019_descr () { echo "Lists" ; }
pf0020_descr () { echo "Lists" ; }
pf0022_descr () { echo "Set options" ; }
pf0023_descr () { echo "Block on negated interface" ; }
pf0024_descr () { echo "Variable concatenation" ; }
pf0025_descr () { echo "Antispoof" ; }
pf0026_descr () { echo "Block from negated interface" ; }
pf0028_descr () { echo "Block with log and quick" ; }
pf0030_descr () { echo "Line continuation" ; }
pf0031_descr () { echo "Block policy" ; }
pf0032_descr () { echo "Pass to any" ; }
pf0034_descr () { echo "Pass with probability" ; }
pf0035_descr () { echo "Matching on TOS" ; }
pf0038_descr () { echo "Pass with user" ; }
pf0039_descr () { echo "Ordered opts" ; }
pf0040_descr () { echo "Block/pass" ; }
pf0041_descr () { echo "Anchors" ; }
pf0047_descr () { echo "Pass with labels" ; }
pf0048_descr () { echo "Tables" ; }
pf0049_descr () { echo "Broadcast and network modifiers" ; }
pf0050_descr () { echo "Double macro set" ; }
pf0052_descr () { echo "Set optimization" ; }
pf0053_descr () { echo "Pass with labels" ; }
pf0055_descr () { echo "Set options" ; }
pf0056_descr () { echo "State opts" ; }
pf0057_descr () { echo "Variables" ; }
pf0060_descr () { echo "Pass from multicast" ; }
pf0061_descr () { echo "Dynaddr with netmask" ; }
pf0065_descr () { echo "Antispoof with labels" ; }
pf0067_descr () { echo "Tags" ; }
pf0069_descr () { echo "Tags" ; }
pf0070_descr () { echo "Tags" ; }
pf0071_descr () { echo "Tags" ; }
pf0072_descr () { echo "Tags" ; }
pf0074_descr () { echo "Synproxy" ; }
pf0075_descr () { echo "Block quick with tags" ; }
pf0077_descr () { echo "Dynaddr with netmask" ; }
pf0078_descr () { echo "Table with label" ; }
pf0079_descr () { echo "No-route with label" ; }
pf0081_descr () { echo "Address list and table list with no-route" ; }
pf0082_descr () { echo "Pass with interface, table and no-route" ; }
pf0084_descr () { echo "Source track" ; }
pf0085_descr () { echo "Tag macro expansion" ; }
pf0087_descr () { echo "Optimization rule reordering" ; }
pf0088_descr () { echo "Optimization duplicate rules handling" ; }
pf0089_descr () { echo "TCP connection tracking" ; }
pf0090_descr () { echo "Log opts" ; }
pf0091_descr () { echo "Nested anchors" ; }
pf0092_descr () { echo "Comments" ; }
pf0094_descr () { echo "Address ranges" ; }
pf0095_descr () { echo "Include" ; }
pf0096_descr () { echo "Variables" ; }
pf0097_descr () { echo "Divert-to" ; }
pf0098_descr () { echo "Pass" ; }
pf0100_descr () { echo "Anchor with multiple path components" ; }
pf0101_descr () { echo "Prio" ; }
pf0102_descr () { echo "Address lists with mixed address family" ; }
pf0104_descr () { echo "Divert-to with localhost" ; }
pf1001_descr () { echo "Binat" ; }
pf1002_descr () { echo "Set timeout interval" ; }
pf1003_descr () { echo "ALTQ" ; }
pf1004_descr () { echo "ALTQ with Codel" ; }