1#!/bin/sh 2# SPDX-License-Identifier: GPL-2.0-or-later 3# Copyright (c) 2018-2022 Petr Vorel <[email protected]> 4# Copyright (c) 2016 Red Hat Inc., All Rights Reserved. 5# Copyright (c) International Business Machines Corp., 2005 6# Author: Hangbin Liu <[email protected]> 7 8TST_TESTFUNC=do_test 9TST_SETUP=do_setup 10TST_CLEANUP=tst_ipsec_cleanup 11 12do_setup() 13{ 14 tst_ipsec_setup 15 PING_MAX="$IPSEC_REQUESTS" 16 tst_res TINFO "Sending ICMP messages" 17} 18 19do_test() 20{ 21 tst_ping -s $2 22} 23 24. ipsec_lib.sh 25tst_run 26