#!/bin/sh # SPDX-License-Identifier: GPL-2.0-or-later # Copyright (c) 2006 International Business Machines Corp. # Copyright (c) 2020 Joerg Vehlow # Copyright (c) 2021 Petr Vorel # Author: Mitsuru Chinen # # Verify that the kernel is not crashed when joining a multicast group # on a single socket, then receiving a large number of General Queries TST_NEEDS_ROOT=1 TST_NEEDS_TMPDIR=1 TST_SETUP="mcast_setup_normal" TST_CLEANUP="mcast_cleanup" TST_TESTFUNC="do_test" . mcast-lib.sh do_test() { 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" # Send General Query from the remote host do_multicast_test_join_single_socket } tst_run