git: 7b7e39221ec9 - main - pf tests: Speed up divert-to.sh test cases
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 Sep 2024 09:19:24 UTC
The branch main has been updated by igoro: URL: https://cgit.FreeBSD.org/src/commit/?id=7b7e39221ec9f525a86b26d24d70260e51faa907 commit 7b7e39221ec9f525a86b26d24d70260e51faa907 Author: Igor Ostapenko <igoro@FreeBSD.org> AuthorDate: 2024-09-25 09:18:06 +0000 Commit: Igor Ostapenko <igoro@FreeBSD.org> CommitDate: 2024-09-25 09:18:06 +0000 pf tests: Speed up divert-to.sh test cases Reviewed by: kp Approved by: kp (mentor) Differential Revision: https://reviews.freebsd.org/D46671 --- tests/sys/netpfil/pf/divert-to.sh | 4 ++-- 1 file 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 }