diff --git a/qrexec/tests/socket/agent.py b/qrexec/tests/socket/agent.py index eb351719..c76b4559 100644 --- a/qrexec/tests/socket/agent.py +++ b/qrexec/tests/socket/agent.py @@ -938,10 +938,10 @@ def test_service_close_stdout_stderr_early(self): #!/bin/sh read echo closing stdout -exec >&- +exec >/dev/null read echo closing stderr >&2 -exec 2>&- +exec 2>/dev/null read code exit $code """, @@ -1028,7 +1028,7 @@ def test_close_stdin_early(self): target, dom0 = self.execute( """ read -exec <&- +exec