diff options
Diffstat (limited to 'test/fs/readonly-whitelist.exp')
-rwxr-xr-x | test/fs/readonly-whitelist.exp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/test/fs/readonly-whitelist.exp b/test/fs/readonly-whitelist.exp deleted file mode 100755 index 784fc36bd..000000000 --- a/test/fs/readonly-whitelist.exp +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | # This file is part of Firejail project | ||
3 | # Copyright (C) 2014-2019 Firejail Authors | ||
4 | # License GPL v2 | ||
5 | |||
6 | set timeout 10 | ||
7 | spawn $env(SHELL) | ||
8 | match_max 100000 | ||
9 | |||
10 | |||
11 | send -- "firejail --noprofile --whitelist=~/_firejail_test_dir --read-only=~\r" | ||
12 | expect { | ||
13 | timeout {puts "TESTING ERROR 0\n";exit} | ||
14 | "Child process initialized" | ||
15 | } | ||
16 | sleep 1 | ||
17 | |||
18 | send -- "echo mytest > ~/_firejail_test_dir/a\r" | ||
19 | expect { | ||
20 | timeout {puts "TESTING ERROR 1\n";exit} | ||
21 | "Read-only file system" | ||
22 | } | ||
23 | after 100 | ||
24 | |||
25 | send -- "exit\r" | ||
26 | sleep 1 | ||
27 | |||
28 | puts "\nall done\n" | ||