aboutsummaryrefslogtreecommitdiffstats
path: root/test/environment/dns.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/environment/dns.exp')
-rwxr-xr-xtest/environment/dns.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/environment/dns.exp b/test/environment/dns.exp
index 1fe6449b7..b5a8c119b 100755
--- a/test/environment/dns.exp
+++ b/test/environment/dns.exp
@@ -30,7 +30,7 @@ expect {
30} 30}
31expect { 31expect {
32 timeout {puts "TESTING ERROR 1.5\n";exit} 32 timeout {puts "TESTING ERROR 1.5\n";exit}
33 "Child process initialized" 33 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
34} 34}
35expect { 35expect {
36 timeout {puts "TESTING ERROR 1.6\n";exit} 36 timeout {puts "TESTING ERROR 1.6\n";exit}
@@ -47,7 +47,7 @@ expect {
47 "DNS server 8.8.8.8" {puts "TESTING ERROR 2.3\n";exit} 47 "DNS server 8.8.8.8" {puts "TESTING ERROR 2.3\n";exit}
48 "DNS server 4.2.2.1" {puts "TESTING ERROR 2.4\n";exit} 48 "DNS server 4.2.2.1" {puts "TESTING ERROR 2.4\n";exit}
49 "DNS server ::2" {puts "TESTING ERROR 2.5\n";exit} 49 "DNS server ::2" {puts "TESTING ERROR 2.5\n";exit}
50 "Child process initialized" {puts "TESTING ERROR 2.6\n";exit} 50 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" {puts "TESTING ERROR 2.6\n";exit}
51 "Parent is shutting down, bye..." {puts "TESTING ERROR 2.7\n";exit} 51 "Parent is shutting down, bye..." {puts "TESTING ERROR 2.7\n";exit}
52 "root" 52 "root"
53} 53}
@@ -56,7 +56,7 @@ after 100
56send -- "firejail --dns=8.8.4.4 --dns=8.8.8.8 --dns=4.2.2.1 --dns=::2\r" 56send -- "firejail --dns=8.8.4.4 --dns=8.8.8.8 --dns=4.2.2.1 --dns=::2\r"
57expect { 57expect {
58 timeout {puts "TESTING ERROR 3\n";exit} 58 timeout {puts "TESTING ERROR 3\n";exit}
59 "Child process initialized" 59 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
60} 60}
61sleep 1 61sleep 1
62 62
@@ -85,7 +85,7 @@ sleep 1
85send -- "firejail --profile=dns.profile\r" 85send -- "firejail --profile=dns.profile\r"
86expect { 86expect {
87 timeout {puts "TESTING ERROR 5.1\n";exit} 87 timeout {puts "TESTING ERROR 5.1\n";exit}
88 "Child process initialized" 88 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
89} 89}
90sleep 1 90sleep 1
91 91