aboutsummaryrefslogtreecommitdiffstats
path: root/test/fs/whitelist-dev.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/fs/whitelist-dev.exp')
-rwxr-xr-xtest/fs/whitelist-dev.exp12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/fs/whitelist-dev.exp b/test/fs/whitelist-dev.exp
index 83e6bad49..7459462f8 100755
--- a/test/fs/whitelist-dev.exp
+++ b/test/fs/whitelist-dev.exp
@@ -10,7 +10,7 @@ match_max 100000
10send -- "firejail --whitelist=/dev/null --debug\r" 10send -- "firejail --whitelist=/dev/null --debug\r"
11expect { 11expect {
12 timeout {puts "TESTING ERROR 0\n";exit} 12 timeout {puts "TESTING ERROR 0\n";exit}
13 "Child process initialized" 13 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
14} 14}
15sleep 1 15sleep 1
16 16
@@ -26,7 +26,7 @@ sleep 1
26send -- "firejail --whitelist=/dev/null --whitelist=/dev/random\r" 26send -- "firejail --whitelist=/dev/null --whitelist=/dev/random\r"
27expect { 27expect {
28 timeout {puts "TESTING ERROR 2\n";exit} 28 timeout {puts "TESTING ERROR 2\n";exit}
29 "Child process initialized" 29 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
30} 30}
31sleep 1 31sleep 1
32 32
@@ -42,7 +42,7 @@ sleep 1
42send -- "firejail --private-dev --debug\r" 42send -- "firejail --private-dev --debug\r"
43expect { 43expect {
44 timeout {puts "TESTING ERROR 4\n";exit} 44 timeout {puts "TESTING ERROR 4\n";exit}
45 "Child process initialized" 45 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
46} 46}
47sleep 1 47sleep 1
48 48
@@ -97,7 +97,7 @@ if { $have_snd > 0 } {
97 send -- "firejail --private-dev --nosound ls /dev\r" 97 send -- "firejail --private-dev --nosound ls /dev\r"
98 expect { 98 expect {
99 timeout {puts "TESTING ERROR 7\n";exit} 99 timeout {puts "TESTING ERROR 7\n";exit}
100 "Child process initialized" 100 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
101 } 101 }
102 expect { 102 expect {
103 timeout {puts "TESTING ERROR 8\n";exit} 103 timeout {puts "TESTING ERROR 8\n";exit}
@@ -114,7 +114,7 @@ if { $have_dvd > 0 } {
114 send -- "firejail --private-dev --nodvd ls /dev\r" 114 send -- "firejail --private-dev --nodvd ls /dev\r"
115 expect { 115 expect {
116 timeout {puts "TESTING ERROR 10\n";exit} 116 timeout {puts "TESTING ERROR 10\n";exit}
117 "Child process initialized" 117 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
118 } 118 }
119 expect { 119 expect {
120 timeout {puts "TESTING ERROR 11\n";exit} 120 timeout {puts "TESTING ERROR 11\n";exit}
@@ -135,7 +135,7 @@ if { $have_dri > 0 } {
135 send -- "firejail --private-dev --no3d ls /dev\r" 135 send -- "firejail --private-dev --no3d ls /dev\r"
136 expect { 136 expect {
137 timeout {puts "TESTING ERROR 17\n";exit} 137 timeout {puts "TESTING ERROR 17\n";exit}
138 "Child process initialized" 138 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
139 } 139 }
140 expect { 140 expect {
141 timeout {puts "TESTING ERROR 18\n";exit} 141 timeout {puts "TESTING ERROR 18\n";exit}