misc: add ikev2 tests usecases
Type: test Ticket: VPP-1893 Change-Id: Ib6ffd00e73f7110bf9e702f4a0fd5c68395d6786 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
This commit is contained in:

committed by
Beno�t Ganne

parent
619fc7e3e8
commit
d5a3380c65
26
extras/strongswan/run.sh
Executable file
26
extras/strongswan/run.sh
Executable file
@@ -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
|
Reference in New Issue
Block a user