svn commit: r340551 - in stable/12/sbin/pfctl/tests: . files

Kristof Provost kp at FreeBSD.org
Sun Nov 18 09:48:53 UTC 2018


Author: kp
Date: Sun Nov 18 09:48:51 2018
New Revision: 340551
URL: https://svnweb.freebsd.org/changeset/base/340551

Log:
  MFC r339466:
  
  pfctl tests: Basic test case for PR 231323
  
  PR:		231323

Added:
  stable/12/sbin/pfctl/tests/files/pf1005.in
     - copied unchanged from r339466, head/sbin/pfctl/tests/files/pf1005.in
  stable/12/sbin/pfctl/tests/files/pf1005.ok
     - copied unchanged from r339466, head/sbin/pfctl/tests/files/pf1005.ok
Modified:
  stable/12/sbin/pfctl/tests/files/pfctl_test_descr.sh
  stable/12/sbin/pfctl/tests/pfctl_test.sh
Directory Properties:
  stable/12/   (props changed)

Copied: stable/12/sbin/pfctl/tests/files/pf1005.in (from r339466, head/sbin/pfctl/tests/files/pf1005.in)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ stable/12/sbin/pfctl/tests/files/pf1005.in	Sun Nov 18 09:48:51 2018	(r340551, copy of r339466, head/sbin/pfctl/tests/files/pf1005.in)
@@ -0,0 +1,3 @@
+rdr on em0 proto tcp from any to any -> 1.1.1.1 port 2121
+pass out log quick on lo0 route-to lo0 from any to any
+pass in log quick on lo0 route-to (lo0 localhost) from any to any

Copied: stable/12/sbin/pfctl/tests/files/pf1005.ok (from r339466, head/sbin/pfctl/tests/files/pf1005.ok)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ stable/12/sbin/pfctl/tests/files/pf1005.ok	Sun Nov 18 09:48:51 2018	(r340551, copy of r339466, head/sbin/pfctl/tests/files/pf1005.ok)
@@ -0,0 +1,2 @@
+pass out log quick on lo0 route-to (lo0 ?) all flags S/SA keep state
+pass in log quick on lo0 route-to (lo0 ::1) inet6 all flags S/SA keep state

Modified: stable/12/sbin/pfctl/tests/files/pfctl_test_descr.sh
==============================================================================
--- stable/12/sbin/pfctl/tests/files/pfctl_test_descr.sh	Sun Nov 18 09:47:39 2018	(r340550)
+++ stable/12/sbin/pfctl/tests/files/pfctl_test_descr.sh	Sun Nov 18 09:48:51 2018	(r340551)
@@ -79,3 +79,4 @@ pf1001_descr () { echo "Binat" ; }
 pf1002_descr () { echo "Set timeout interval" ; }
 pf1003_descr () { echo "ALTQ" ; }
 pf1004_descr () { echo "ALTQ with Codel" ; }
+pf1005_descr () { echo "PR 231323" ; }

Modified: stable/12/sbin/pfctl/tests/pfctl_test.sh
==============================================================================
--- stable/12/sbin/pfctl/tests/pfctl_test.sh	Sun Nov 18 09:47:39 2018	(r340550)
+++ stable/12/sbin/pfctl/tests/pfctl_test.sh	Sun Nov 18 09:48:51 2018	(r340551)
@@ -22,7 +22,7 @@ pftests="0001 0002 0003 0004 0005 0006 0007 0008 0009 
 0032 0034 0035 0038 0039 0040 0041 0047 0048 0049 0050 0052 0053 0055
 0056 0057 0060 0061 0065 0067 0069 0070 0071 0072 0074 0075 0077 0078
 0079 0081 0082 0084 0085 0087 0088 0089 0090 0091 0092 0094 0095 0096
-0097 0098 0100 0101 0102 0104 1001 1002 1003 1004"
+0097 0098 0100 0101 0102 0104 1001 1002 1003 1004 1005"
 
 . $(atf_get_srcdir)/files/pfctl_test_descr.sh
 


More information about the svn-src-all mailing list