diff options
author | 2023-08-28 17:18:33 -0300 | |
---|---|---|
committer | 2023-08-28 19:03:09 -0300 | |
commit | d5c90b74167c2812128c1251f12b20f0d639b8ed (patch) | |
tree | b5921b78784edb6f033d432f379102cc342b0eba | |
parent | tests: fix wget test in utils/trace.exp (diff) | |
download | firejail-d5c90b74167c2812128c1251f12b20f0d639b8ed.tar.gz firejail-d5c90b74167c2812128c1251f12b20f0d639b8ed.tar.zst firejail-d5c90b74167c2812128c1251f12b20f0d639b8ed.zip |
tests: disable wget test in utils/trace.exp
It is apparently getting in the way of the rm test[1]:
runner@fv-az1417-728:~/work/firejail/firejail/test/utils$
<ail/test/utils$ firejail --trace wget -q debian.org
5:wget:exec /usr/local/bin/wget:0
5:wget:stat64 /etc/wgetrc:0
5:wget:fopen64 /etc/wgetrc:0x561585600510
5:wget:stat64 /home/runner/.wgetrc:-1
OK
[...]
firejail --trace rm index.html
5:wget:connect 4 128.31.0.62 port 443:0
[...]
5:wget:stat64 /home/runner/.wget-hsts:0
runner@fv-az1417-728:~/work/firejail/firejail/test/utils$ TESTING ERROR 9
[1] https://github.com/kmk3/firejail/actions/runs/6004405511/job/16284920616
-rwxr-xr-x | test/utils/trace.exp | 37 |
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 | } |
53 | sleep 1 | 53 | sleep 1 |
54 | 54 | ||
55 | send -- "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 | #} |
65 | expect { | 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 | #} |
70 | expect { | 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 | #} |
74 | expect { | 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 | #} |
81 | sleep 1 | 82 | #sleep 1 |
82 | 83 | ||
83 | send -- "firejail --trace rm index.html\r" | 84 | send -- "firejail --trace rm index.html\r" |
84 | expect { | 85 | expect { |