aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils/firemon-seccomp.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2022-02-09 13:03:10 -0500
committerLibravatar GitHub <noreply@github.com>2022-02-09 13:03:10 -0500
commit03395e10bfd597eff5e324be53e24eb44898db98 (patch)
tree68f382289719461dc85180b8f7abb327b5787c18 /test/utils/firemon-seccomp.exp
parentFix iridium.profile (diff)
parenttesting: fix expect matching of numbers (diff)
downloadfirejail-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-xtest/utils/firemon-seccomp.exp4
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
10send -- "firejail --noprofile --name=bingo1 --seccomp\r" 10send -- "firejail --noprofile --name=bingo1 --seccomp\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
@@ -18,7 +18,7 @@ spawn $env(SHELL)
18send -- "firejail --noprofile --name=bingo2\r" 18send -- "firejail --noprofile --name=bingo2\r"
19expect { 19expect {
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}
23sleep 1 23sleep 1
24 24