aboutsummaryrefslogtreecommitdiffstats
path: root/test/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.sh')
-rwxr-xr-xtest/test.sh41
1 files changed, 12 insertions, 29 deletions
diff --git a/test/test.sh b/test/test.sh
index 44bb7ba99..923a9b390 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -6,6 +6,9 @@
6 6
7./fscheck.sh 7./fscheck.sh
8 8
9echo "TESTING: nice"
10./nice.exp
11
9echo "TESTING: protocol" 12echo "TESTING: protocol"
10./protocol.exp 13./protocol.exp
11 14
@@ -15,6 +18,9 @@ echo "TESTING: invalid filename"
15echo "TESTING: environment variables" 18echo "TESTING: environment variables"
16./env.exp 19./env.exp
17 20
21echo "TESTING: whitelist empty"
22./whitelist-empty.exp
23
18echo "TESTING: ignore command" 24echo "TESTING: ignore command"
19./ignore.exp 25./ignore.exp
20 26
@@ -86,6 +92,9 @@ rm -f index.html*
86echo "TESTING: extract command" 92echo "TESTING: extract command"
87./extract_command.exp 93./extract_command.exp
88 94
95echo "TESTING: kmsg access"
96./kmsg.exp
97
89echo "TESTING: rlimit" 98echo "TESTING: rlimit"
90./option_rlimit.exp 99./option_rlimit.exp
91 100
@@ -107,9 +116,6 @@ echo "TESTING: firejail in firejail - force new sandbox"
107echo "TESTING: chroot overlay" 116echo "TESTING: chroot overlay"
108./option_chroot_overlay.exp 117./option_chroot_overlay.exp
109 118
110echo "TESTING: tmpfs"
111./option_tmpfs.exp
112
113echo "TESTING: blacklist directory" 119echo "TESTING: blacklist directory"
114./option_blacklist.exp 120./option_blacklist.exp
115 121
@@ -175,9 +181,6 @@ echo "TESTING: profile rlimit"
175echo "TESTING: profile read-only" 181echo "TESTING: profile read-only"
176./profile_readonly.exp 182./profile_readonly.exp
177 183
178echo "TESTING: profile tmpfs"
179./profile_tmpfs.exp
180
181echo "TESTING: private" 184echo "TESTING: private"
182./private.exp `whoami` 185./private.exp `whoami`
183 186
@@ -193,29 +196,8 @@ mkdir dirprivate
193./private_dir_profile.exp 196./private_dir_profile.exp
194rm -fr dirprivate 197rm -fr dirprivate
195 198
196echo "TESTING: private keep" 199echo "TESTING: overlayfs"
197./private-keep.exp 200./fs_overlay.exp
198
199uname -r | grep "3.18"
200if [ "$?" -eq 0 ];
201then
202 echo "TESTING: overlayfs on 3.18 kernel"
203 ./fs_overlay.exp
204fi
205
206grep "openSUSE" /etc/os-release
207if [ "$?" -eq 0 ];
208then
209 echo "TESTING: overlayfs"
210 ./fs_overlay.exp
211fi
212
213grep "Ubuntu" /etc/os-release
214if [ "$?" -eq 0 ];
215then
216 echo "TESTING: overlayfs"
217 ./fs_overlay.exp
218fi
219 201
220echo "TESTING: seccomp debug" 202echo "TESTING: seccomp debug"
221./seccomp-debug.exp 203./seccomp-debug.exp
@@ -269,6 +251,7 @@ echo "TESTING: network IP"
269./net_ip.exp 251./net_ip.exp
270 252
271echo "TESTING: network MAC" 253echo "TESTING: network MAC"
254sleep 2
272./net_mac.exp 255./net_mac.exp
273 256
274echo "TESTING: network MTU" 257echo "TESTING: network MTU"