1#!/bin/sh 2# SPDX-License-Identifier: GPL-2.0-or-later 3# Copyright (c) 2018-2022 Petr Vorel <pvorel@suse.cz> 4# Copyright (c) 2016 Oracle and/or its affiliates. All Rights Reserved. 5# Author: Alexey Kodanev <alexey.kodanev@oracle.com> 6 7TST_TESTFUNC=do_test 8TST_SETUP=do_setup 9TST_CLEANUP=tst_ipsec_cleanup 10 11do_setup() 12{ 13 tst_ipsec_setup_vti 14 PING_MAX="$IPSEC_REQUESTS" 15 tst_res TINFO "Sending ICMP messages" 16} 17 18do_test() 19{ 20 tst_ping -I $tst_vti -H $ip_rmt_tun -s $2 21} 22 23. ipsec_lib.sh 24tst_run 25