1#!/bin/sh 2# SPDX-License-Identifier: GPL-2.0-or-later 3# Copyright (c) 2006 International Business Machines Corp. 4# Copyright (c) 2020 Joerg Vehlow <[email protected]> 5# Copyright (c) 2021 Petr Vorel <[email protected]> 6# Author: Mitsuru Chinen <[email protected]> 7# 8# Verify that the kernel is not crashed when joining a multicast group 9# on a single socket, then receiving a large number of General Queries 10 11TST_NEEDS_ROOT=1 12TST_NEEDS_TMPDIR=1 13TST_SETUP="mcast_setup_normal" 14TST_CLEANUP="mcast_cleanup" 15TST_TESTFUNC="do_test" 16 17do_test() 18{ 19 tst_res TINFO "joining an IPv${TST_IPVER} multicast group on a single socket, then receiving a large number of General Queries in $NS_DURATION seconds" 20 21 # Send General Query from the remote host 22 do_multicast_test_join_single_socket 23} 24 25. mcast-lib.sh 26tst_run 27