diff options
Diffstat (limited to 'test/fs/fs.sh')
-rwxr-xr-x | test/fs/fs.sh | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/test/fs/fs.sh b/test/fs/fs.sh new file mode 100755 index 000000000..08888020c --- /dev/null +++ b/test/fs/fs.sh | |||
@@ -0,0 +1,55 @@ | |||
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: empty private-etc (test/fs/private-etc-empty.exp)" | ||
28 | ./private-etc-empty.exp | ||
29 | |||
30 | echo "TESTING: private-bin (test/fs/private-bin.exp)" | ||
31 | ./private-bin.exp | ||
32 | |||
33 | echo "TESTING: whitelist empty (test/fs/whitelist-empty.exp)" | ||
34 | ./whitelist-empty.exp | ||
35 | |||
36 | echo "TESTING: private whitelist (test/fs/private-whitelist.exp)" | ||
37 | ./private-whitelist.exp | ||
38 | |||
39 | echo "TESTING: invalid filename (test/fs/invalid_filename.exp)" | ||
40 | ./invalid_filename.exp | ||
41 | |||
42 | echo "TESTING: blacklist directory (test/fs/option_blacklist.exp)" | ||
43 | ./option_blacklist.exp | ||
44 | |||
45 | echo "TESTING: blacklist file (test/fs/option_blacklist_file.exp)" | ||
46 | ./option_blacklist_file.exp | ||
47 | |||
48 | echo "TESTING: blacklist glob (test/fs/option_blacklist_glob.exp)" | ||
49 | ./option_blacklist_glob.exp | ||
50 | |||
51 | echo "TESTING: bind as user (test/fs/option_bind_user.exp)" | ||
52 | ./option_bind_user.exp | ||
53 | |||
54 | |||
55 | |||