xref: /aosp_15_r20/external/ltp/testcases/network/tcp_cmds/ping/ping02.sh (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1#! /bin/sh
2# SPDX-License-Identifier: GPL-2.0-or-later
3# Copyright (c) 2016-2019 Oracle and/or its affiliates. All Rights Reserved.
4
5TST_TESTFUNC="do_test"
6TST_NEEDS_ROOT=1
7
8
9do_test()
10{
11	tst_ping -s "${PACKETSIZES:-8 16 32 64 128 256 512 1024 2048 4064}" \
12		 -p "000102030405060708090a0b0c0d0e0f" -c "${COUNT:-3}"
13}
14
15. tst_net.sh
16tst_run
17