Fix "invalid UTF-8" test failure on Windows

On Windows an extra line "exec: Process pid=... exited with status code 0"
is reported after terminating the subprocess. This isn't relevant for
the `text_exec_invalid_utf` test, so the extra line is just ignored.

No functional changes.
This commit is contained in:
2021-09-24 14:49:04 +02:00
parent 8d4a405495
commit 8a972972ba
+4 -1
View File
@@ -145,7 +145,10 @@ class ExecCommandTest(AbstractCommandTest):
),
call(f"exec: TERMinating subprocess pid={pid}"),
call(decode_err),
]
],
# Pass any_order=True to allow for some extra line reported on Windows
# but not on Linux ("exec: Process pid=... exited with status code 0")
any_order=True,
)
# The update should NOT contain a new task status -- that is left to the Worker.