aboutsummaryrefslogtreecommitdiffstats
path: root/test/fs/fscheck-readonly.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-11-16 20:11:29 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2016-11-16 20:11:29 -0500
commitf233eee37465218ff2b8a7b8806f1d85ea757c70 (patch)
tree3cfa0efd5b7a3ae0e1d864e0f92487221d38badd /test/fs/fscheck-readonly.exp
parentfcopy part 2 (diff)
downloadfirejail-f233eee37465218ff2b8a7b8806f1d85ea757c70.tar.gz
firejail-f233eee37465218ff2b8a7b8806f1d85ea757c70.tar.zst
firejail-f233eee37465218ff2b8a7b8806f1d85ea757c70.zip
testing
Diffstat (limited to 'test/fs/fscheck-readonly.exp')
-rwxr-xr-xtest/fs/fscheck-readonly.exp15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/fs/fscheck-readonly.exp b/test/fs/fscheck-readonly.exp
new file mode 100755
index 000000000..4d7528e50
--- /dev/null
+++ b/test/fs/fscheck-readonly.exp
@@ -0,0 +1,15 @@
1#!/usr/bin/expect -f
2
3set timeout 10
4spawn $env(SHELL)
5match_max 100000
6
7# dir
8send -- "firejail --read-only=../test/testdir1\r"
9expect {
10 timeout {puts "TESTING ERROR 0\n";exit}
11 "Error"
12}
13after 100
14
15puts "\nall done\n"