From f6697d4b546b0085bc161a4c9caef4e3976b709b Mon Sep 17 00:00:00 2001
From: Pawel Wieczorek
Date: Mon, 23 Mar 2015 17:18:48 +0100
Subject: [PATCH] Add key-manager tests to test runner
Passing "ckm" argument to security-tests.sh script will result in
execution of "ckm-tests" binary. Previously it had to be called
explicitly.
Change-Id: Icacefde32d99832295ddaad045ae31be3d085ca8
---
src/security-tests.sh | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/security-tests.sh b/src/security-tests.sh
index db3221c..f99127b 100644
--- a/src/security-tests.sh
+++ b/src/security-tests.sh
@@ -88,13 +88,19 @@ case $1 in
echo
cynara-test "${@:2}"
;;
+"ckm")
+ echo "========================================================================="
+ echo "KEY MANAGER TESTS"
+ echo
+ ckm-tests "${@:2}"
+ ;;
*)
echo "Correct using:"
echo " security_test.sh "
echo
echo "modules: smack, smack-dbus, libprivilege-control, ss-clientsmack"
echo " ss-server, ss-api-speed, ss-password, ss-stress"
- echo " ss-privilege, security-manager, cynara"
+ echo " ss-privilege, security-manager, cynara, ckm"
;;
esac
--
2.7.4