1#!/bin/sh 2 3# Copyright (c) 2014 Oracle and/or its affiliates. All Rights Reserved. 4# Copyright (c) International Business Machines Corp., 2006 5# 6# This program is free software; you can redistribute it and/or 7# modify it under the terms of the GNU General Public License as 8# published by the Free Software Foundation; either version 2 of 9# the License, or (at your option) any later version. 10# 11# This program is distributed in the hope that it would be useful, 12# but WITHOUT ANY WARRANTY; without even the implied warranty of 13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14# GNU General Public License for more details. 15# 16# You should have received a copy of the GNU General Public License 17# along with this program; if not, write the Free Software Foundation, 18# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 20. test_net.sh 21 22TST_IPV6=6 23 24tst_resm TINFO "Test duration is $NS_DURATION [sec]" 25 26lhost_addr=$(tst_ipaddr) 27rhost_addr=$(tst_ipaddr rhost) 28 29tst_rhost_run -s -c \ 30 "check_icmpv6_connectivity $(tst_iface rhost) $lhost_addr" 31