diff options
Diffstat (limited to 'test/environment/keep-fd.exp')
-rwxr-xr-x | test/environment/keep-fd.exp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/environment/keep-fd.exp b/test/environment/keep-fd.exp index 222234ceb..440cbd860 100755 --- a/test/environment/keep-fd.exp +++ b/test/environment/keep-fd.exp | |||
@@ -47,7 +47,7 @@ after 100 | |||
47 | send -- "firejail --noprofile\r" | 47 | send -- "firejail --noprofile\r" |
48 | expect { | 48 | expect { |
49 | timeout {puts "TESTING ERROR 2\n";exit} | 49 | timeout {puts "TESTING ERROR 2\n";exit} |
50 | "Child process initialized" | 50 | -re {Child process initialized in [0-9]+.[0-9]+ ms} |
51 | } | 51 | } |
52 | after 100 | 52 | after 100 |
53 | 53 | ||
@@ -83,7 +83,7 @@ after 500 | |||
83 | send -- "firejail --noprofile --keep-fd=\$READ_FD\r" | 83 | send -- "firejail --noprofile --keep-fd=\$READ_FD\r" |
84 | expect { | 84 | expect { |
85 | timeout {puts "TESTING ERROR 6\n";exit} | 85 | timeout {puts "TESTING ERROR 6\n";exit} |
86 | "Child process initialized" | 86 | -re {Child process initialized in [0-9]+.[0-9]+ ms} |
87 | } | 87 | } |
88 | after 100 | 88 | after 100 |
89 | 89 | ||
@@ -119,7 +119,7 @@ after 500 | |||
119 | send -- "firejail --noprofile --keep-fd=\$WRITE_FD\r" | 119 | send -- "firejail --noprofile --keep-fd=\$WRITE_FD\r" |
120 | expect { | 120 | expect { |
121 | timeout {puts "TESTING ERROR 10\n";exit} | 121 | timeout {puts "TESTING ERROR 10\n";exit} |
122 | "Child process initialized" | 122 | -re {Child process initialized in [0-9]+.[0-9]+ ms} |
123 | } | 123 | } |
124 | after 100 | 124 | after 100 |
125 | 125 | ||
@@ -155,7 +155,7 @@ after 500 | |||
155 | send -- "firejail --noprofile --keep-fd=\$READ_FD,\$WRITE_FD\r" | 155 | send -- "firejail --noprofile --keep-fd=\$READ_FD,\$WRITE_FD\r" |
156 | expect { | 156 | expect { |
157 | timeout {puts "TESTING ERROR 14\n";exit} | 157 | timeout {puts "TESTING ERROR 14\n";exit} |
158 | "Child process initialized" | 158 | -re {Child process initialized in [0-9]+.[0-9]+ ms} |
159 | } | 159 | } |
160 | after 100 | 160 | after 100 |
161 | 161 | ||
@@ -191,7 +191,7 @@ after 500 | |||
191 | send -- "firejail --noprofile --keep-fd=all\r" | 191 | send -- "firejail --noprofile --keep-fd=all\r" |
192 | expect { | 192 | expect { |
193 | timeout {puts "TESTING ERROR 18\n";exit} | 193 | timeout {puts "TESTING ERROR 18\n";exit} |
194 | "Child process initialized" | 194 | -re {Child process initialized in [0-9]+.[0-9]+ ms} |
195 | } | 195 | } |
196 | after 100 | 196 | after 100 |
197 | 197 | ||