summaryrefslogtreecommitdiffstats
path: root/test/option_tmpfs.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/option_tmpfs.exp')
-rwxr-xr-xtest/option_tmpfs.exp22
1 files changed, 20 insertions, 2 deletions
diff --git a/test/option_tmpfs.exp b/test/option_tmpfs.exp
index 1ff47ab13..6522ef2d3 100755
--- a/test/option_tmpfs.exp
+++ b/test/option_tmpfs.exp
@@ -18,9 +18,27 @@ expect {
18} 18}
19expect { 19expect {
20 timeout {puts "TESTING ERROR 2\n";exit} 20 timeout {puts "TESTING ERROR 2\n";exit}
21 "home" 21 "/root"
22} 22}
23sleep 1 23sleep 1
24send -- "exit\r"
25sleep 2
24 26
25puts "\n" 27send -- "firejail --debug-check-filename --tmpfs=\"bla&&bla\"\r"
28expect {
29 timeout {puts "TESTING ERROR 13.1\n";exit}
30 "Checking filename bla&&bla"
31}
32expect {
33 timeout {puts "TESTING ERROR 13.2\n";exit}
34 "Error:"
35}
36expect {
37 timeout {puts "TESTING ERROR 13.3\n";exit}
38 "is an invalid filename"
39}
40after 100
41
42
43puts "\nalldone\n"
26 44