git: a733ea831a00 - main - tests/netinet: add a few missing atf_checks in multicast.sh
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Oct 2025 13:23:16 UTC
The branch main has been updated by glebius:
URL: https://cgit.FreeBSD.org/src/commit/?id=a733ea831a00d4c0ee4b67824c9ac4e5ba82be08
commit a733ea831a00d4c0ee4b67824c9ac4e5ba82be08
Author: Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2025-10-02 13:22:43 +0000
Commit: Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2025-10-02 13:22:43 +0000
tests/netinet: add a few missing atf_checks in multicast.sh
Fixes: d0c8a0b3e6fc5372428eb4fddcd4f8c65b5b0ee0
---
tests/sys/netinet/multicast.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/sys/netinet/multicast.sh b/tests/sys/netinet/multicast.sh
index 2ce6be68e44d..a3854fd2fd20 100755
--- a/tests/sys/netinet/multicast.sh
+++ b/tests/sys/netinet/multicast.sh
@@ -105,6 +105,7 @@ IP_ADD_MEMBERSHIP_ip_mreqn_body()
jexec mjail1 $(atf_get_srcdir)/multicast-send \
0.0.0.0 6676 233.252.0.1 6676 ${epair2}a hello
atf_check -s exit:0 sh -c "wait $pid; exit $?"
+ atf_check -s exit:0 -o inline:"192.0.3.1:6676 hello\n" cat out
}
IP_ADD_MEMBERSHIP_ip_mreqn_cleanup()
{
@@ -138,6 +139,7 @@ MCAST_JOIN_GROUP_body()
jexec mjail1 $(atf_get_srcdir)/multicast-send \
0.0.0.0 6676 233.252.0.1 6676 ${epair2}a hello
atf_check -s exit:0 sh -c "wait $pid; exit $?"
+ atf_check -s exit:0 -o inline:"192.0.3.1:6676 hello\n" cat out
}
MCAST_JOIN_GROUP_cleanup()
{