android13/external/ltp/testcases/network/tcp_cmds/ping/ping02.sh

17 lines
340 B
Bash
Executable File

#! /bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (c) 2016-2019 Oracle and/or its affiliates. All Rights Reserved.
TST_TESTFUNC="do_test"
TST_NEEDS_ROOT=1
. tst_net.sh
do_test()
{
tst_ping -s "${PACKETSIZES:-8 16 32 64 128 256 512 1024 2048 4064}" \
-p "000102030405060708090a0b0c0d0e0f" -c "${COUNT:-3}"
}
tst_run