1 |
kumaneko |
645 |
#! /bin/sh |
2 |
kumaneko |
3906 |
# |
3 |
|
|
# testall.sh |
4 |
|
|
# |
5 |
kumaneko |
4792 |
# Copyright (C) 2005-2011 NTT DATA CORPORATION |
6 |
kumaneko |
3906 |
# |
7 |
kumaneko |
5327 |
# Version: 2.4.0 2011/08/06 |
8 |
kumaneko |
3906 |
# |
9 |
|
|
# This program is free software; you can redistribute it and/or modify it |
10 |
|
|
# under the terms of the GNU General Public License v2 as published by the |
11 |
|
|
# Free Software Foundation. |
12 |
|
|
# |
13 |
|
|
# This program is distributed in the hope that it will be useful, but WITHOUT |
14 |
|
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
15 |
|
|
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
16 |
|
|
# more details. |
17 |
|
|
# |
18 |
|
|
# You should have received a copy of the GNU General Public License along with |
19 |
|
|
# this program; if not, write to the Free Software Foundation, Inc., |
20 |
|
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA |
21 |
|
|
# |
22 |
kumaneko |
386 |
cd ${0%/*} |
23 |
|
|
export PATH=$PWD:${PATH} |
24 |
kumaneko |
111 |
|
25 |
|
|
echo "Testing all. (All results are reported)" |
26 |
kumaneko |
4894 |
newns tomoyo_accept_test |
27 |
|
|
newns tomoyo_filesystem_test |
28 |
|
|
newns tomoyo_file_test |
29 |
|
|
newns tomoyo_rewrite_test |
30 |
kumaneko |
4931 |
#newns tomoyo_capability_test |
31 |
|
|
#newns tomoyo_signal_test |
32 |
kumaneko |
5310 |
#newns tomoyo_network_test |
33 |
kumaneko |
4894 |
newns tomoyo_argv0_test |
34 |
kumaneko |
5310 |
#newns tomoyo_env_test |
35 |
kumaneko |
4894 |
newns tomoyo_new_file_test |
36 |
kumaneko |
4931 |
#newns tomoyo_new_capability_test |
37 |
kumaneko |
5310 |
#newns tomoyo_new_network_test |
38 |
kumaneko |
4894 |
newns tomoyo_new_test |
39 |
kumaneko |
4931 |
#newns tomoyo_bind_test |
40 |
kumaneko |
111 |
echo |
41 |
|
|
echo |
42 |
|
|
echo |
43 |
|
|
echo "Testing all. (Only ERRORS are reported)" |
44 |
kumaneko |
4894 |
newns tomoyo_accept_test | grep -vF Done |
45 |
|
|
newns tomoyo_filesystem_test | grep -vF OK | grep -F '(' |
46 |
kumaneko |
4931 |
#newns tomoyo_bind_test | grep -vF exhausted | grep -vF Done |
47 |
kumaneko |
4894 |
newns tomoyo_file_test | grep -vF OK | grep -F '(' |
48 |
|
|
newns tomoyo_rewrite_test | grep -vF OK | grep -F '(' |
49 |
kumaneko |
4931 |
#newns tomoyo_capability_test | grep -vF OK | grep -F '(' |
50 |
|
|
#newns tomoyo_signal_test | grep -vF OK | grep -F '(' |
51 |
kumaneko |
5310 |
#newns tomoyo_network_test | grep -vF OK | grep -F '(' |
52 |
kumaneko |
4894 |
newns tomoyo_argv0_test | grep -vF OK | grep -F '(' |
53 |
kumaneko |
5310 |
#newns tomoyo_env_test | grep -vF OK | grep -F '(' |
54 |
kumaneko |
4894 |
newns tomoyo_new_test | grep -vF OK |
55 |
kumaneko |
1069 |
echo |
56 |
|
|
echo |
57 |
|
|
echo |
58 |
kumaneko |
1065 |
echo "Testing policy I/O. (Only ERRORS are reported)" |
59 |
kumaneko |
4894 |
newns tomoyo_bprm_test | grep -vF OK |
60 |
|
|
newns tomoyo_cond_test | grep -vF OK |
61 |
|
|
newns tomoyo_policy_io_test | grep -vF OK |
62 |
|
|
newns tomoyo_new_file_test | grep -vF OK |
63 |
kumaneko |
4931 |
#newns tomoyo_new_capability_test | grep -vF OK |
64 |
kumaneko |
5310 |
#newns tomoyo_new_network_test | grep -vF OK |
65 |
kumaneko |
4931 |
#newns tomoyo_execute_handler_test | grep -vF OK |
66 |
kumaneko |
4723 |
dmesg -c |
67 |
|
|
uname -r |