You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
476 B
25 lines
476 B
4 months ago
|
#!/bin/sh
|
||
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
# Copyright (c) 2018 Petr Vorel <pvorel@suse.cz>
|
||
|
# Copyright (c) 2016 Oracle and/or its affiliates. All Rights Reserved.
|
||
|
# Author: Alexey Kodanev <alexey.kodanev@oracle.com>
|
||
|
|
||
|
TST_TESTFUNC=do_test
|
||
|
TST_SETUP=do_setup
|
||
|
TST_CLEANUP=tst_ipsec_cleanup
|
||
|
. ipsec_lib.sh
|
||
|
|
||
|
do_setup()
|
||
|
{
|
||
|
tst_ipsec_setup_vti
|
||
|
PING_MAX="$IPSEC_REQUESTS"
|
||
|
tst_res TINFO "Sending ICMP messages"
|
||
|
}
|
||
|
|
||
|
do_test()
|
||
|
{
|
||
|
tst_ping $tst_vti $ip_rmt_tun $2
|
||
|
}
|
||
|
|
||
|
tst_run
|