mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 09:08:38 +00:00
Avoid transient working directory in XCL EOF tests
This commit is contained in:
@ -117,9 +117,9 @@ class OutputEOF(unittest.TestCase):
|
||||
"os.close(1)\n"
|
||||
"os.close(2)\n" + after_close)
|
||||
run = xc.Run("synthetic")
|
||||
with tempfile.TemporaryDirectory() as tmp:
|
||||
hung = xc.run_title([sys.executable, "-I", "-c", script], os.environ, tmp, run,
|
||||
["probe"], 1, None, Sink(), [])
|
||||
# The child only writes to pipes, so it can inherit the test runner's working directory.
|
||||
hung = xc.run_title([sys.executable, "-I", "-c", script], os.environ, None, run,
|
||||
["probe"], 1, None, Sink(), [])
|
||||
return hung, run
|
||||
|
||||
def test_live_title_after_eof_returns_hung_check_for_restart(self):
|
||||
|
||||
Reference in New Issue
Block a user