aboutsummaryrefslogtreecommitdiffstats
path: root/test/fs/fs.sh
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-11-10 08:23:58 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2016-11-10 08:23:58 -0500
commitd8984ed12a0cb7cef4376f544ac19b6e71bb213c (patch)
treec5281c93c8c4768fc235fdc18edcfbc19d380265 /test/fs/fs.sh
parentbug: mkdir and mkfile are not applied to private directories (diff)
downloadfirejail-d8984ed12a0cb7cef4376f544ac19b6e71bb213c.tar.gz
firejail-d8984ed12a0cb7cef4376f544ac19b6e71bb213c.tar.zst
firejail-d8984ed12a0cb7cef4376f544ac19b6e71bb213c.zip
testing
Diffstat (limited to 'test/fs/fs.sh')
-rwxr-xr-xtest/fs/fs.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/fs/fs.sh b/test/fs/fs.sh
index 812da02b0..8ad67141a 100755
--- a/test/fs/fs.sh
+++ b/test/fs/fs.sh
@@ -6,6 +6,10 @@
6export MALLOC_CHECK_=3 6export MALLOC_CHECK_=3
7export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) 7export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
8 8
9rm -fr ~/_firejail_test_*
10echo "TESTING: mkdir/mkfile (test/fs/mkdir_mkfile.exp)"
11rm -fr ~/_firejail_test_*
12
9echo "TESTING: /sys/fs access (test/fs/sys_fs.exp)" 13echo "TESTING: /sys/fs access (test/fs/sys_fs.exp)"
10./sys_fs.exp 14./sys_fs.exp
11 15
@@ -69,12 +73,15 @@ echo "TESTING: double whitelist (test/fs/whitelist-double.exp)"
69 73
70echo "TESTING: whitelist (test/fs/whitelist.exp)" 74echo "TESTING: whitelist (test/fs/whitelist.exp)"
71./whitelist.exp 75./whitelist.exp
76
77#cleanup
72rm -fr ~/fjtest-dir 78rm -fr ~/fjtest-dir
73rm -fr ~/fjtest-dir-lnk 79rm -fr ~/fjtest-dir-lnk
74rm -f ~/fjtest-file 80rm -f ~/fjtest-file
75rm -f ~/fjtest-file-lnk 81rm -f ~/fjtest-file-lnk
76rm -f /tmp/fjtest-file 82rm -f /tmp/fjtest-file
77rm -fr /tmp/fjtest-dir 83rm -fr /tmp/fjtest-dir
84rm -fr ~/_firejail_test_*
78 85
79 86
80 87