mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-24 11:47:20 +00:00
Improve the pf nat exhaustion test by checking the reply from the echo server
Event: Oslo Hackathon Approved by: kp
This commit is contained in:
parent
d6ae056e9d
commit
7bf5f682c0
|
@ -61,8 +61,8 @@ exhaust_body()
|
||||||
# Sanity check
|
# Sanity check
|
||||||
atf_check -s exit:0 -o ignore ping -c 3 198.51.100.2
|
atf_check -s exit:0 -o ignore ping -c 3 198.51.100.2
|
||||||
|
|
||||||
echo "foo" | nc -N 198.51.100.2 7
|
atf_check -s exit:0 -o match:foo* echo "foo" | nc -N 198.51.100.2 7
|
||||||
echo "foo" | nc -N 198.51.100.2 7
|
atf_check -s exit:0 -o match:foo* echo "foo" | nc -N 198.51.100.2 7
|
||||||
|
|
||||||
# This one will fail, but that's expected
|
# This one will fail, but that's expected
|
||||||
echo "foo" | nc -N 198.51.100.2 7 &
|
echo "foo" | nc -N 198.51.100.2 7 &
|
||||||
|
|
Loading…
Reference in a new issue