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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user