aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Ostapenko <igoro@FreeBSD.org>2024-09-25 09:18:06 +0000
committerIgor Ostapenko <igoro@FreeBSD.org>2024-09-25 09:18:06 +0000
commit7b7e39221ec9f525a86b26d24d70260e51faa907 (patch)
treea2ae62fb799e780c0b011eb4b9700264cde0b71d
parentc9c2452a25355db7d89bfc93fd9d50f46690949c (diff)
downloadsrc-7b7e39221ec9.tar.gz
src-7b7e39221ec9.zip
pf tests: Speed up divert-to.sh test cases
Reviewed by: kp Approved by: kp (mentor) Differential Revision: https://reviews.freebsd.org/D46671
-rw-r--r--tests/sys/netpfil/pf/divert-to.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sys/netpfil/pf/divert-to.sh b/tests/sys/netpfil/pf/divert-to.sh
index c7118c397032..b27d321d7825 100644
--- a/tests/sys/netpfil/pf/divert-to.sh
+++ b/tests/sys/netpfil/pf/divert-to.sh
@@ -104,7 +104,7 @@ in_div_body()
sleep 1
# divapp is expected to "eat" the packet
- atf_check -s not-exit:0 -o ignore ping -c1 192.0.2.2
+ atf_check -s not-exit:0 -o ignore ping -c1 -t1 192.0.2.2
wait $divapp_pid
}
@@ -183,7 +183,7 @@ out_div_body()
sleep 1
# divapp is expected to "eat" the packet
- atf_check -s not-exit:0 -o ignore ping -c1 192.0.2.2
+ atf_check -s not-exit:0 -o ignore ping -c1 -t1 192.0.2.2
wait $divapp_pid
}