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/utils/firemon-seccomp.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/utils/firemon-seccomp.exp')
-rwxr-xr-x | test/utils/firemon-seccomp.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/utils/firemon-seccomp.exp b/test/utils/firemon-seccomp.exp index bbc38f27a..7eb6f9168 100755 --- a/test/utils/firemon-seccomp.exp +++ b/test/utils/firemon-seccomp.exp | |||
@@ -10,7 +10,7 @@ match_max 100000 | |||
10 | send -- "firejail --noprofile --name=bingo1 --seccomp\r" | 10 | send -- "firejail --noprofile --name=bingo1 --seccomp\r" |
11 | expect { | 11 | expect { |
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 | } |
15 | sleep 1 | 15 | sleep 1 |
16 | 16 | ||
@@ -18,7 +18,7 @@ spawn $env(SHELL) | |||
18 | send -- "firejail --noprofile --name=bingo2\r" | 18 | send -- "firejail --noprofile --name=bingo2\r" |
19 | expect { | 19 | expect { |
20 | timeout {puts "TESTING ERROR 0.1\n";exit} | 20 | timeout {puts "TESTING ERROR 0.1\n";exit} |
21 | "Child process initialized" | 21 | -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" |
22 | } | 22 | } |
23 | sleep 1 | 23 | sleep 1 |
24 | 24 | ||