git: afa77b699651 - main - pf tests: improve pfsync:basic_defer test

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Fri, 03 Feb 2023 09:39:55 UTC
The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=afa77b6996513df98fd27f91ae4c9fe57f7ac4b2

commit afa77b6996513df98fd27f91ae4c9fe57f7ac4b2
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2023-02-03 03:10:32 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2023-02-03 08:39:21 +0000

    pf tests: improve pfsync:basic_defer test
    
    Create state on output only, to ensure we trigger the defer code.
    
    MFC after:      2 weeks
---
 tests/sys/netpfil/pf/pfsync.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/sys/netpfil/pf/pfsync.sh b/tests/sys/netpfil/pf/pfsync.sh
index 21cc2ed87906..7b8268216734 100644
--- a/tests/sys/netpfil/pf/pfsync.sh
+++ b/tests/sys/netpfil/pf/pfsync.sh
@@ -73,11 +73,11 @@ common_body()
 	jexec one pfctl -e
 	pft_set_rules one \
 		"set skip on ${epair_sync}a" \
-		"pass keep state"
+		"pass out keep state"
 	jexec two pfctl -e
 	pft_set_rules two \
 		"set skip on ${epair_sync}b" \
-		"pass keep state"
+		"pass out keep state"
 
 	ifconfig ${epair_one}b 198.51.100.254/24 up