aboutsummaryrefslogtreecommitdiffstats
path: root/extras/strongswan/run.sh
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2021-02-20 02:26:17 +0000
committerBeno�t Ganne <bganne@cisco.com>2021-03-04 14:57:54 +0000
commitd5a3380c65a8ab9e317b8b51a92d50b70e2a9481 (patch)
treeb300ea5fddc7aa59af5d97d50bdd9d6f65a925da /extras/strongswan/run.sh
parent619fc7e3e82b62acf28078853860c9f9803a9dc4 (diff)
misc: add ikev2 tests usecases
Type: test Ticket: VPP-1893 Change-Id: Ib6ffd00e73f7110bf9e702f4a0fd5c68395d6786 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'extras/strongswan/run.sh')
-rwxr-xr-xextras/strongswan/run.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/extras/strongswan/run.sh b/extras/strongswan/run.sh
new file mode 100755
index 00000000000..a185514372f
--- /dev/null
+++ b/extras/strongswan/run.sh
@@ -0,0 +1,26 @@
+print_help() {
+ echo "vpp/strongswan tests"
+}
+
+count=0
+test_num=`ls -l test_* | wc -l`
+
+for test_case in test_*
+do
+ let "count=$count + 1"
+
+ base_name=`basename -a "$test_case"`
+ printf "%2d/%d : %-48s" $count $test_num "$base_name"
+ logger "test start $base_name"
+
+ bash $test_case &> /dev/null
+ rc=$?
+
+ if [ $rc -ne 0 ] ; then
+ printf "failed!\n"
+ else
+ printf "passed.\n"
+ fi
+done
+
+exit 0