3 #####################################################################
4 # Copyright (c) 2012 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 "========================================================================="
31 "libprivilege-control")
32 echo "========================================================================="
35 libprivilege-control-test $2 $3
38 echo "========================================================================="
39 echo "SECURITY SERVER TEST CLIENT SMACK"
41 security-server-tests-client-smack $2 $3
44 echo "========================================================================="
45 echo "SECURITY SERVER TEST STRESS"
47 security-server-tests-stress $2 $3
50 echo "========================================================================="
51 echo "SECURITY SERVER TEST SERVER"
53 security-server-tests-server $2 $3
56 echo "========================================================================="
57 echo "SECURITY SERVER MEASURER SERVER"
59 security-server-tests-api-speed $2 $3
62 echo "========================================================================="
63 echo "SECURITY SERVER TEST PASSWORD"
65 security-server-tests-password $2 $3
68 echo "========================================================================="
69 echo "SECURITY SERVER TEST DBUS"
71 security-server-tests-dbus $2 $3
76 echo " security_test.sh <module> <args_for_module>"
78 echo "modules: smack, libprivilege-control, ss-clientsmack"
79 echo " ss-server, ss-api-speed, ss-password, ss-stress"
84 echo "### Tests done ##########################################################"