pf tests: make syncookie:loopback more robust

Give the background nc process a bit of time to start before we attempt to
connect to it.

Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Kristof Provost
2025-10-08 09:56:24 +02:00
parent 2d9fd2c573
commit 98c1bf371c
+3
View File
@@ -253,6 +253,9 @@ Creativity, no.
__EOF__
nc -l $addr $port >out &
# Give the background nc time to start
sleep 1
atf_check nc -N $addr $port < in
atf_check -o file:in cat out