1f08c3bdfSopenharmony_ci#!/bin/sh 2f08c3bdfSopenharmony_ci# SPDX-License-Identifier: GPL-2.0-or-later 3f08c3bdfSopenharmony_ci# Copyright (c) 2018-2022 Petr Vorel <pvorel@suse.cz> 4f08c3bdfSopenharmony_ci# Copyright (c) 2016 Red Hat Inc., All Rights Reserved. 5f08c3bdfSopenharmony_ci# Copyright (c) International Business Machines Corp., 2005 6f08c3bdfSopenharmony_ci# Author: Hangbin Liu <haliu@redhat.com> 7f08c3bdfSopenharmony_ci 8f08c3bdfSopenharmony_ciTST_TESTFUNC=do_test 9f08c3bdfSopenharmony_ciTST_SETUP=do_setup 10f08c3bdfSopenharmony_ciTST_CLEANUP=tst_ipsec_cleanup 11f08c3bdfSopenharmony_ci 12f08c3bdfSopenharmony_cido_setup() 13f08c3bdfSopenharmony_ci{ 14f08c3bdfSopenharmony_ci tst_ipsec_setup 15f08c3bdfSopenharmony_ci PING_MAX="$IPSEC_REQUESTS" 16f08c3bdfSopenharmony_ci tst_res TINFO "Sending ICMP messages" 17f08c3bdfSopenharmony_ci} 18f08c3bdfSopenharmony_ci 19f08c3bdfSopenharmony_cido_test() 20f08c3bdfSopenharmony_ci{ 21f08c3bdfSopenharmony_ci tst_ping -s $2 22f08c3bdfSopenharmony_ci} 23f08c3bdfSopenharmony_ci 24f08c3bdfSopenharmony_ci. ipsec_lib.sh 25f08c3bdfSopenharmony_citst_run 26