1 #!/bin/sh 2 # Copyright (c) 2017-2018 Petr Vorel <pvorel (at] suse.cz> 3 # Copyright (c) International Business Machines Corp., 2006 4 # 5 # This program is free software; you can redistribute it and/or 6 # modify it under the terms of the GNU General Public License as 7 # published by the Free Software Foundation; either version 2 of 8 # the License, or (at your option) any later version. 9 # 10 # This program is distributed in the hope that it would be useful, 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 # GNU General Public License for more details. 14 # 15 # You should have received a copy of the GNU General Public License 16 # along with this program. If not, see <http://www.gnu.org/licenses/>. 17 # 18 # Setup: testcases/network/stress/README 19 # 20 # Author: Mitsuru Chinen <mitch (at] jp.ibm.com> 21 22 . mcast-lib.sh 23 24 do_setup() 25 { 26 mcast_setup $MCASTNUM_HEAVY 27 } 28 29 do_test() 30 { 31 tst_res TINFO "joining $MCASTNUM_HEAVY IPv$TST_IPVER multicast groups on a single socket" 32 do_multicast_test_multiple_join $MCASTNUM_HEAVY 33 } 34 35 tst_run 36