1#!/bin/sh 2# SPDX-License-Identifier: GPL-2.0-or-later 3# Copyright (c) 2017-2018 Petr Vorel <pvorel@suse.cz> 4# Copyright (c) International Business Machines Corp., 2006 5# Author: Mitsuru Chinen <mitch@jp.ibm.com> 6 7TST_NEEDS_ROOT=1 8TST_NEEDS_TMPDIR=1 9TST_SETUP="do_setup" 10TST_CLEANUP="mcast_cleanup" 11TST_TESTFUNC="do_test" 12. mcast-lib.sh 13 14do_setup() 15{ 16 mcast_setup $MCASTNUM_HEAVY 17} 18 19do_test() 20{ 21 tst_res TINFO "joining $MCASTNUM_HEAVY IPv$TST_IPVER multicast groups on a single socket" 22 do_multicast_test_multiple_join $MCASTNUM_HEAVY 23} 24 25tst_run 26