mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 06:06:02 -06:00
testing: fix strace color probing in allow-debuggers & seccomp-ptrace
if strace runs in a terminal, it probes the background color to select its color palette. this probing expects a reply, but due to expect intercepting the io, the answer isn't sent back to strace, so it never starts printing the expected output.
This commit is contained in:
parent
e01e2c1740
commit
92f7be5192
2 changed files with 8 additions and 0 deletions
|
|
@ -5,6 +5,10 @@
|
|||
|
||||
set timeout 10
|
||||
cd /home
|
||||
|
||||
# disable strace's terminal background color probing
|
||||
set env(NO_COLOR) 1
|
||||
|
||||
spawn $env(SHELL)
|
||||
match_max 100000
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,10 @@
|
|||
# License GPL v2
|
||||
|
||||
set timeout 10
|
||||
|
||||
# disable strace's terminal background color probing
|
||||
set env(NO_COLOR) 1
|
||||
|
||||
spawn $env(SHELL)
|
||||
match_max 100000
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue