#!/bin/sh
#####################################################################
-# Copyright (c) 2012-2014 Samsung Electronics Co., Ltd All Rights Reserved
+# Copyright (c) 2012-2018 Samsung Electronics Co., Ltd All Rights Reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
;;
"ckm")
echo "========================================================================="
- echo "KEY MANAGER TESTS"
+ echo "KEY MANAGER UNPRIVILEGED TESTS"
echo
- ckm-tests "${@:2}"
+ ARGS="${@:2}"
+ su - owner -c "ckm-tests $ARGS"
+ echo "========================================================================="
+ echo "KEY MANAGER PRIVILEGED TESTS"
+ echo
+ ckm-tests-on-onlycap.sh $ARGS
+ ;;
+"yaca")
+ echo "========================================================================="
+ echo "YACA TESTS"
+ echo
+ yaca-test "${@:2}"
+ ;;
+"nether")
+ echo "========================================================================="
+ echo "NETHER TESTS"
+ echo
+ nether-tests "${@:2}"
;;
*)
echo "Correct using:"
echo " security_test.sh <module> <args_for_module>"
echo
- echo "modules: smack, security-manager, cynara, ckm"
+ echo "modules: smack, security-manager, cynara, ckm, yaca, nether"
;;
esac