aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtest/fs/invalid_filename.exp11
-rwxr-xr-xtest/fs/whitelist-dev.exp2
2 files changed, 1 insertions, 12 deletions
diff --git a/test/fs/invalid_filename.exp b/test/fs/invalid_filename.exp
index 0ad43284f..0c37b780d 100755
--- a/test/fs/invalid_filename.exp
+++ b/test/fs/invalid_filename.exp
@@ -18,17 +18,6 @@ expect {
18} 18}
19after 100 19after 100
20 20
21send -- "firejail --noprofile --chroot=\"bla&&bla\"\r"
22expect {
23 timeout {puts "TESTING ERROR 3.2\n";exit}
24 "Error:"
25}
26expect {
27 timeout {puts "TESTING ERROR 3.3\n";exit}
28 "is an invalid filename"
29}
30after 100
31
32send -- "firejail --noprofile --netfilter=\"bla&&bla\"\r" 21send -- "firejail --noprofile --netfilter=\"bla&&bla\"\r"
33expect { 22expect {
34 timeout {puts "TESTING ERROR 4.2\n";exit} 23 timeout {puts "TESTING ERROR 4.2\n";exit}
diff --git a/test/fs/whitelist-dev.exp b/test/fs/whitelist-dev.exp
index 7459462f8..049698b99 100755
--- a/test/fs/whitelist-dev.exp
+++ b/test/fs/whitelist-dev.exp
@@ -7,7 +7,7 @@ set timeout 10
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9 9
10send -- "firejail --whitelist=/dev/null --debug\r" 10send -- "firejail --whitelist=/dev/null\r"
11expect { 11expect {
12 timeout {puts "TESTING ERROR 0\n";exit} 12 timeout {puts "TESTING ERROR 0\n";exit}
13 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" 13 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"