#!/bin/sh # SPDX-License-Identifier: GPL-2.0-or-later # Copyright (c) 2017-2018 Petr Vorel # Copyright (c) International Business Machines Corp., 2006 # Author: Mitsuru Chinen TST_NEEDS_ROOT=1 TST_NEEDS_TMPDIR=1 TST_SETUP="do_setup" TST_CLEANUP="mcast_cleanup" TST_TESTFUNC="do_test" . mcast-lib.sh do_setup() { mcast_setup $MCASTNUM_HEAVY } do_test() { tst_res TINFO "joining $MCASTNUM_HEAVY IPv$TST_IPVER multicast groups on a single socket" do_multicast_test_multiple_join $MCASTNUM_HEAVY } tst_run