1#!/bin/sh 2# Copyright (c) 2014-2017 Oracle and/or its affiliates. All Rights Reserved. 3# Copyright (c) International Business Machines Corp., 2006 4# 5# This program is free software; you can redistribute it and/or 6# modify it under the terms of the GNU General Public License as 7# published by the Free Software Foundation; either version 2 of 8# the License, or (at your option) any later version. 9# 10# This program is distributed in the hope that it would be useful, 11# but WITHOUT ANY WARRANTY; without even the implied warranty of 12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13# GNU General Public License for more details. 14# 15# You should have received a copy of the GNU General Public License 16# along with this program; if not, write the Free Software Foundation, 17# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18# 19# Author: Mitsuru Chinen <mitch@jp.ibm.com> 20 21TCID=broken_ip6-version01 22TST_TOTAL=1 23 24TST_USE_LEGACY_API=1 25. tst_net.sh 26 27tst_resm TINFO "Sending ICMPv6 with wrong version field for $NS_DURATION sec" 28 29tst_icmp -t $NS_DURATION -s "0 100 500 1000 1452" -v 30 31tst_ping 32 33tst_exit 34