aboutsummaryrefslogtreecommitdiffstats
path: root/test/fs/fs.sh
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-05-05 10:22:18 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-05-05 10:22:18 -0400
commit37a5a3545ef6d8d03dad8bbd888f53e13274c9e5 (patch)
tree5d56a4b0a0933963d97eb0a88dd00fec9ea58bf2 /test/fs/fs.sh
parentrename generic.profile as default.profile (diff)
downloadfirejail-37a5a3545ef6d8d03dad8bbd888f53e13274c9e5.tar.gz
firejail-37a5a3545ef6d8d03dad8bbd888f53e13274c9e5.tar.zst
firejail-37a5a3545ef6d8d03dad8bbd888f53e13274c9e5.zip
testing
Diffstat (limited to 'test/fs/fs.sh')
-rwxr-xr-xtest/fs/fs.sh50
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
6export MALLOC_CHECK_=3
7export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
8
9echo "TESTING: kmsg access (test/fs/kmsg.exp)"
10./kmsg.exp
11
12echo "TESTING: read/write /var/tmp (test/fs/fs_var_tmp.exp)"
13./fs_var_tmp.exp
14
15echo "TESTING: read/write /var/lock (test/fs/fs_var_lock.exp)"
16./fs_var_lock.exp
17
18echo "TESTING: read/write /dev/shm (test/fs/fs_dev_shm.exp)"
19./fs_dev_shm.exp
20
21echo "TESTING: private (test/fs/private.exp)"
22./private.exp `whoami`
23
24echo "TESTING: private-etc (test/fs/private-etc.exp)"
25./private-etc.exp
26
27echo "TESTING: private-bin (test/fs/private-bin.exp)"
28./private-bin.exp
29
30echo "TESTING: whitelist empty (test/fs/whitelist-empty.exp)"
31./whitelist-empty.exp
32
33echo "TESTING: private whitelist (test/fs/private-whitelist.exp)"
34echo "TESTING: (failing on OpenSUSE)"
35./private-whitelist.exp
36
37echo "TESTING: invalid filename (test/fs/invalid_filename.exp)"
38./invalid_filename.exp
39
40echo "TESTING: blacklist directory (test/fs/option_blacklist.exp)"
41./option_blacklist.exp
42
43echo "TESTING: blacklist file (test/fs/option_blacklist_file.exp)"
44./option_blacklist_file.exp
45
46echo "TESTING: bind as user (test/fs/option_bind_user.exp)"
47./option_bind_user.exp
48
49
50