diff options
author | netblue30 <netblue30@protonmail.com> | 2022-02-09 13:03:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-09 13:03:10 -0500 |
commit | 03395e10bfd597eff5e324be53e24eb44898db98 (patch) | |
tree | 68f382289719461dc85180b8f7abb327b5787c18 /test/apps/chromium.exp | |
parent | Fix iridium.profile (diff) | |
parent | testing: fix expect matching of numbers (diff) | |
download | firejail-03395e10bfd597eff5e324be53e24eb44898db98.tar.gz firejail-03395e10bfd597eff5e324be53e24eb44898db98.tar.zst firejail-03395e10bfd597eff5e324be53e24eb44898db98.zip |
Merge pull request #4918 from smitsohu/tests2
testing: fix expect matching of numbers
Diffstat (limited to 'test/apps/chromium.exp')
-rwxr-xr-x | test/apps/chromium.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/apps/chromium.exp b/test/apps/chromium.exp index 0248f9d88..4e036dee9 100755 --- a/test/apps/chromium.exp +++ b/test/apps/chromium.exp | |||
@@ -14,7 +14,7 @@ expect { | |||
14 | } | 14 | } |
15 | expect { | 15 | expect { |
16 | timeout {puts "TESTING ERROR 1\n";exit} | 16 | timeout {puts "TESTING ERROR 1\n";exit} |
17 | "Child process initialized" | 17 | -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" |
18 | } | 18 | } |
19 | sleep 10 | 19 | sleep 10 |
20 | 20 | ||
@@ -41,7 +41,7 @@ expect { | |||
41 | send -- "firejail --name=blablabla\r" | 41 | send -- "firejail --name=blablabla\r" |
42 | expect { | 42 | expect { |
43 | timeout {puts "TESTING ERROR 4\n";exit} | 43 | timeout {puts "TESTING ERROR 4\n";exit} |
44 | "Child process initialized" | 44 | -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" |
45 | } | 45 | } |
46 | sleep 2 | 46 | sleep 2 |
47 | 47 | ||