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/network/net_none.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/network/net_none.exp')
-rwxr-xr-x | test/network/net_none.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/network/net_none.exp b/test/network/net_none.exp index 95b1cf086..32d7532ce 100755 --- a/test/network/net_none.exp +++ b/test/network/net_none.exp | |||
@@ -12,7 +12,7 @@ send -- "firejail --net=none\r" | |||
12 | expect { | 12 | expect { |
13 | timeout {puts "TESTING ERROR 0\n";exit} | 13 | timeout {puts "TESTING ERROR 0\n";exit} |
14 | "eth0" {puts "TESTING ERROR 0.1\n";exit} | 14 | "eth0" {puts "TESTING ERROR 0.1\n";exit} |
15 | "Child process initialized" | 15 | -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" |
16 | } | 16 | } |
17 | sleep 1 | 17 | sleep 1 |
18 | 18 | ||
@@ -47,7 +47,7 @@ send -- "firejail --profile=net_none.profile\r" | |||
47 | expect { | 47 | expect { |
48 | timeout {puts "TESTING ERROR 3\n";exit} | 48 | timeout {puts "TESTING ERROR 3\n";exit} |
49 | "eth0" {puts "TESTING ERROR 3.1\n";exit} | 49 | "eth0" {puts "TESTING ERROR 3.1\n";exit} |
50 | "Child process initialized" | 50 | -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" |
51 | } | 51 | } |
52 | sleep 1 | 52 | sleep 1 |
53 | 53 | ||