aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils/trace.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/utils/trace.exp')
-rwxr-xr-xtest/utils/trace.exp37
1 files changed, 19 insertions, 18 deletions
diff --git a/test/utils/trace.exp b/test/utils/trace.exp
index 48b37dc0a..282b52e50 100755
--- a/test/utils/trace.exp
+++ b/test/utils/trace.exp
@@ -52,7 +52,8 @@ expect {
52} 52}
53sleep 1 53sleep 1
54 54
55send -- "firejail --trace wget -q debian.org\r" 55# FIXME: Broken in CI
56#send -- "firejail --trace wget -q debian.org\r"
56#expect { 57#expect {
57# timeout {puts "TESTING ERROR 8.1\n";exit} 58# timeout {puts "TESTING ERROR 8.1\n";exit}
58# -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" 59# -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
@@ -62,23 +63,23 @@ send -- "firejail --trace wget -q debian.org\r"
62# "bash:open /dev/tty" {puts "OK\n";} 63# "bash:open /dev/tty" {puts "OK\n";}
63# "bash:open64 /dev/tty" {puts "OK\n";} 64# "bash:open64 /dev/tty" {puts "OK\n";}
64#} 65#}
65expect { 66#expect {
66 timeout {puts "TESTING ERROR 8.3\n";exit} 67# timeout {puts "TESTING ERROR 8.3\n";exit}
67 "wget:fopen64 /etc/wgetrc" {puts "OK\n";} 68# "wget:fopen64 /etc/wgetrc" {puts "OK\n";}
68 "wget:fopen /etc/wgetrc" {puts "OK\n";} 69# "wget:fopen /etc/wgetrc" {puts "OK\n";}
69} 70#}
70expect { 71#expect {
71 timeout {puts "TESTING ERROR 8.5\n";exit} 72# timeout {puts "TESTING ERROR 8.5\n";exit}
72 "wget:connect" 73# "wget:connect"
73} 74#}
74expect { 75#expect {
75 timeout {puts "TESTING ERROR 8.6\n";exit} 76# timeout {puts "TESTING ERROR 8.6\n";exit}
76 "wget:stat64 index.html" {puts "OK\n";} 77# "wget:stat64 index.html" {puts "OK\n";}
77 "wget:fopen64 index.html" {puts "OK\n";} 78# "wget:fopen64 index.html" {puts "OK\n";}
78 "wget:fopen index.html" {puts "OK\n";} 79# "wget:fopen index.html" {puts "OK\n";}
79 "Parent is shutting down" {puts "OK\n";} 80# "Parent is shutting down" {puts "OK\n";}
80} 81#}
81sleep 1 82#sleep 1
82 83
83send -- "firejail --trace rm index.html\r" 84send -- "firejail --trace rm index.html\r"
84expect { 85expect {