diff options
author | netblue30 <netblue30@yahoo.com> | 2016-05-05 10:22:18 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-05-05 10:22:18 -0400 |
commit | 37a5a3545ef6d8d03dad8bbd888f53e13274c9e5 (patch) | |
tree | 5d56a4b0a0933963d97eb0a88dd00fec9ea58bf2 /test/fs/fs.sh | |
parent | rename generic.profile as default.profile (diff) | |
download | firejail-37a5a3545ef6d8d03dad8bbd888f53e13274c9e5.tar.gz firejail-37a5a3545ef6d8d03dad8bbd888f53e13274c9e5.tar.zst firejail-37a5a3545ef6d8d03dad8bbd888f53e13274c9e5.zip |
testing
Diffstat (limited to 'test/fs/fs.sh')
-rwxr-xr-x | test/fs/fs.sh | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/test/fs/fs.sh b/test/fs/fs.sh new file mode 100755 index 000000000..425af45a6 --- /dev/null +++ b/test/fs/fs.sh | |||
@@ -0,0 +1,50 @@ | |||
1 | #!/bin/bash | ||
2 | # This file is part of Firejail project | ||
3 | # Copyright (C) 2014-2016 Firejail Authors | ||
4 | # License GPL v2 | ||
5 | |||
6 | export MALLOC_CHECK_=3 | ||
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | ||
8 | |||
9 | echo "TESTING: kmsg access (test/fs/kmsg.exp)" | ||
10 | ./kmsg.exp | ||
11 | |||
12 | echo "TESTING: read/write /var/tmp (test/fs/fs_var_tmp.exp)" | ||
13 | ./fs_var_tmp.exp | ||
14 | |||
15 | echo "TESTING: read/write /var/lock (test/fs/fs_var_lock.exp)" | ||
16 | ./fs_var_lock.exp | ||
17 | |||
18 | echo "TESTING: read/write /dev/shm (test/fs/fs_dev_shm.exp)" | ||
19 | ./fs_dev_shm.exp | ||
20 | |||
21 | echo "TESTING: private (test/fs/private.exp)" | ||
22 | ./private.exp `whoami` | ||
23 | |||
24 | echo "TESTING: private-etc (test/fs/private-etc.exp)" | ||
25 | ./private-etc.exp | ||
26 | |||
27 | echo "TESTING: private-bin (test/fs/private-bin.exp)" | ||
28 | ./private-bin.exp | ||
29 | |||
30 | echo "TESTING: whitelist empty (test/fs/whitelist-empty.exp)" | ||
31 | ./whitelist-empty.exp | ||
32 | |||
33 | echo "TESTING: private whitelist (test/fs/private-whitelist.exp)" | ||
34 | echo "TESTING: (failing on OpenSUSE)" | ||
35 | ./private-whitelist.exp | ||
36 | |||
37 | echo "TESTING: invalid filename (test/fs/invalid_filename.exp)" | ||
38 | ./invalid_filename.exp | ||
39 | |||
40 | echo "TESTING: blacklist directory (test/fs/option_blacklist.exp)" | ||
41 | ./option_blacklist.exp | ||
42 | |||
43 | echo "TESTING: blacklist file (test/fs/option_blacklist_file.exp)" | ||
44 | ./option_blacklist_file.exp | ||
45 | |||
46 | echo "TESTING: bind as user (test/fs/option_bind_user.exp)" | ||
47 | ./option_bind_user.exp | ||
48 | |||
49 | |||
50 | |||