3 #####################################################################
4 # Copyright (c) 2012 - 2019 Samsung Electronics Co., Ltd All Rights Reserved
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 #####################################################################
19 #testing internet access and date on the target
21 echo "### Starting tests ######################################################"
26 echo "========================================================================="
29 libsmack-test "${@:2}" # propagate all remaining arguments (except first)
32 echo "========================================================================="
33 echo "SECURITY MANAGER TESTS"
35 security-manager-tests "${@:2}"
38 echo "========================================================================="
44 echo "========================================================================="
45 echo "KEY MANAGER UNPRIVILEGED TESTS"
48 su - owner -c "ckm-tests $ARGS"
49 echo "========================================================================="
50 echo "KEY MANAGER PRIVILEGED TESTS"
52 ckm-privileged-tests $ARGS
55 echo "========================================================================="
62 echo " security_test.sh <module> <args_for_module>"
64 echo "modules: smack, security-manager, cynara, ckm, yaca"
69 echo "### Tests done ##########################################################"