mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-16 06:06:03 -06:00
To try to fix the following errors[1] [2]:
runner@fv-az298-480:~/work/firejail/firejail/test/utils$
<irejail --build wget --output-document=~ debian.org
[...]
Resolving www.debian.org (www.debian.org)... 128.31.0.62
Connecting to www.debian.org (www.debian.org)|128.31.0.62|:443... connected.
TESTING ERROR 13
runner@fv-az305-745:~/work/firejail/firejail/test/sysutils$
<ysutils$ firejail --ignore=quiet wget -q debian.org
[...]
Child process initialized in 106.89 ms
TESTING ERROR 2
[1] https://github.com/netblue30/firejail/actions/runs/5996420917/job/16278071977?pr=5979
[2] https://github.com/netblue30/firejail/actions/runs/5996420917/job/16278071219?pr=5979
34 lines
653 B
Text
Executable file
34 lines
653 B
Text
Executable file
#!/usr/bin/expect -f
|
|
# This file is part of Firejail project
|
|
# Copyright (C) 2014-2023 Firejail Authors
|
|
# License GPL v2
|
|
|
|
set timeout 30
|
|
spawn $env(SHELL)
|
|
match_max 100000
|
|
|
|
send -- "rm index.html*\r"
|
|
after 500
|
|
|
|
send -- "firejail --ignore=quiet wget -q debian.org\r"
|
|
expect {
|
|
timeout {puts "TESTING ERROR 1\n";exit}
|
|
"Child process initialized"
|
|
}
|
|
expect {
|
|
timeout {puts "TESTING ERROR 2\n";exit}
|
|
"Parent is shutting down"
|
|
}
|
|
after 100
|
|
|
|
send -- "ls -l index.html\r"
|
|
expect {
|
|
timeout {puts "TESTING ERROR 3\n";exit}
|
|
"No such file or directory" {puts "TESTING ERROR 4\n";exit}
|
|
"rw"
|
|
}
|
|
after 100
|
|
send -- "rm index.html*\r"
|
|
after 500
|
|
|
|
puts "\nall done\n"
|