We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0e7438 commit 652b8f5Copy full SHA for 652b8f5
qrexec/tests/socket/agent.py
@@ -938,10 +938,10 @@ def test_service_close_stdout_stderr_early(self):
938
#!/bin/sh
939
read
940
echo closing stdout
941
-exec >&-
+exec >/dev/null
942
943
echo closing stderr >&2
944
-exec 2>&-
+exec 2>/dev/null
945
read code
946
exit $code
947
""",
@@ -1028,7 +1028,7 @@ def test_close_stdin_early(self):
1028
target, dom0 = self.execute(
1029
"""
1030
1031
-exec <&-
+exec </dev/null
1032
echo "closed stdin"
1033
sleep 1
1034
0 commit comments