1f08c3bdfSopenharmony_ci#!/bin/sh 2f08c3bdfSopenharmony_ci# SPDX-License-Identifier: GPL-2.0-or-later 3f08c3bdfSopenharmony_ci# Copyright (c) 2017-2018 Petr Vorel <pvorel@suse.cz> 4f08c3bdfSopenharmony_ci# Copyright (c) International Business Machines Corp., 2006 5f08c3bdfSopenharmony_ci# Author: Mitsuru Chinen <mitch@jp.ibm.com> 6f08c3bdfSopenharmony_ci 7f08c3bdfSopenharmony_ciTST_NEEDS_ROOT=1 8f08c3bdfSopenharmony_ciTST_NEEDS_TMPDIR=1 9f08c3bdfSopenharmony_ciTST_SETUP="mcast_setup_normal" 10f08c3bdfSopenharmony_ciTST_CLEANUP="mcast_cleanup" 11f08c3bdfSopenharmony_ciTST_TESTFUNC="do_test" 12f08c3bdfSopenharmony_ci 13f08c3bdfSopenharmony_cido_test() 14f08c3bdfSopenharmony_ci{ 15f08c3bdfSopenharmony_ci tst_res TINFO "joining and leaving the same IPv$TST_IPVER multicast group on $MCASTNUM_NORMAL sockets in $NS_TIMES times" 16f08c3bdfSopenharmony_ci do_multicast_test_join_leave $MCASTNUM_NORMAL 17f08c3bdfSopenharmony_ci} 18f08c3bdfSopenharmony_ci 19f08c3bdfSopenharmony_ci. mcast-lib.sh 20f08c3bdfSopenharmony_citst_run 21