aboutsummaryrefslogtreecommitdiff
path: root/test/performance/odp_ipsec_run.sh
blob: 2ddb48d0738ae590aef0006ec9ddaa2a7d32c934 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
#
# Copyright (c) 2022, Nokia
# All rights reserved.
#
# SPDX-License-Identifier:      BSD-3-Clause

TEST_DIR="${TEST_DIR:-$(dirname $0)}"

# Run with a small number of packets in make check

$TEST_DIR/odp_ipsec${EXEEXT} -c 100

if [ $? -ne 0 ] ; then
    echo Test FAILED
    exit 1
fi

exit 0