aboutsummaryrefslogtreecommitdiffstats
path: root/test/features/3.3.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/features/3.3.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/features/3.3.exp')
-rwxr-xr-xtest/features/3.3.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/features/3.3.exp b/test/features/3.3.exp
index fc1a982ec..71b6f70db 100755
--- a/test/features/3.3.exp
+++ b/test/features/3.3.exp
@@ -18,7 +18,7 @@ set chroot [lindex $argv 1]
18send -- "firejail --noprofile --blacklist=/home/netblue/.config\r" 18send -- "firejail --noprofile --blacklist=/home/netblue/.config\r"
19expect { 19expect {
20 timeout {puts "TESTING ERROR 0\n";exit} 20 timeout {puts "TESTING ERROR 0\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
@@ -40,7 +40,7 @@ if { $overlay == "overlay" } {
40 expect { 40 expect {
41 timeout {puts "TESTING ERROR 2\n";exit} 41 timeout {puts "TESTING ERROR 2\n";exit}
42 "overlay option is not available" {puts "grsecurity\n"; exit} 42 "overlay option is not available" {puts "grsecurity\n"; exit}
43 "Child process initialized" {puts "normal system\n"} 43 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" {puts "normal system\n"}
44 } 44 }
45 sleep 1 45 sleep 1
46 46
@@ -61,7 +61,7 @@ if { $chroot == "chroot" } {
61 send -- "firejail --noprofile --chroot=/tmp/chroot --blacklist=/home/netblue/.config\r" 61 send -- "firejail --noprofile --chroot=/tmp/chroot --blacklist=/home/netblue/.config\r"
62 expect { 62 expect {
63 timeout {puts "TESTING ERROR 4\n";exit} 63 timeout {puts "TESTING ERROR 4\n";exit}
64 "Child process initialized" 64 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
65 } 65 }
66 sleep 1 66 sleep 1
67 67