Page MenuHomeFreeBSD

D37250.id.diff
No OneTemporary

D37250.id.diff

diff --git a/sbin/ping/tests/ping_test.sh b/sbin/ping/tests/ping_test.sh
--- a/sbin/ping/tests/ping_test.sh
+++ b/sbin/ping/tests/ping_test.sh
@@ -129,20 +129,28 @@
ping_46_head()
{
- atf_set "descr" "-4 and -6 may not be used together"
+ atf_set "descr" "-4 and -6 cannot be used simultaneously"
}
ping_46_body()
{
- atf_check -s exit:1 -e ignore ping -4 -6
+ require_ipv4
+ require_ipv6
+ atf_check -s exit:1 \
+ -e match:"-4 and -6 cannot be used simultaneously" \
+ ping -4 -6 localhost
}
ping6_46_head()
{
- atf_set "descr" "-4 and -6 may not be used together"
+ atf_set "descr" "-4 and -6 cannot be used simultaneously"
}
ping6_46_body()
{
- atf_check -s exit:1 -e ignore ping6 -4 -6
+ require_ipv4
+ require_ipv6
+ atf_check -s exit:1 \
+ -e match:"-4 and -6 cannot be used simultaneously" \
+ ping6 -4 -6 localhost
}
atf_init_test_cases()

File Metadata

Mime Type
text/plain
Expires
Fri, Feb 6, 12:25 AM (3 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28444922
Default Alt Text
D37250.id.diff (883 B)

Event Timeline