1#!/bin/sh 2# SPDX-License-Identifier: GPL-2.0-or-later 3# Copyright (c) 2018 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. ipsec_lib.sh 11 12do_setup() 13{ 14 tst_ipsec_setup_vti 15 PING_MAX="$IPSEC_REQUESTS" 16 tst_res TINFO "Sending ICMP messages" 17} 18 19do_test() 20{ 21 tst_ping $tst_vti $ip_rmt_tun $2 22} 23 24tst_run 25