Home | History | Annotate | Download | only in broken_ip
      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 (at] jp.ibm.com>
     20 
     21 TCID=broken_ip6-plen01
     22 TST_TOTAL=1
     23 
     24 . test_net.sh
     25 
     26 tst_resm TINFO "Sending ICMPv4 with wrong payload len for $NS_DURATION sec"
     27 
     28 tst_icmp -t $NS_DURATION -s "0 100 500 1000 1452" -L
     29 
     30 tst_ping
     31 
     32 tst_exit
     33