mcast-group-source-filter.sh 578 B

1234567891011121314151617181920
  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. TST_NEEDS_ROOT=1
  7. TST_NEEDS_TMPDIR=1
  8. TST_SETUP="mcast_setup_normal"
  9. TST_CLEANUP="mcast_cleanup"
  10. TST_TESTFUNC="do_test"
  11. . mcast-lib.sh
  12. do_test()
  13. {
  14. tst_res TINFO "joining and leaving the same IPv$TST_IPVER multicast group with a different source filters on $MCASTNUM_NORMAL sockets in $NS_TIMES times"
  15. do_multicast_test_join_leave $MCASTNUM_NORMAL true
  16. }
  17. tst_run