From 1a07b291c0f86ed24a7dca2ebc41a4da433a4339 Mon Sep 17 00:00:00 2001 From: John Halley Gotway Date: Wed, 25 Sep 2024 18:53:05 +0000 Subject: [PATCH] Per #2979, insert a newline in unit.py output between the env vars and the command. --- internal/test_unit/python/unit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/test_unit/python/unit.py b/internal/test_unit/python/unit.py index 3bc2b222a9..fde61876dd 100755 --- a/internal/test_unit/python/unit.py +++ b/internal/test_unit/python/unit.py @@ -234,7 +234,7 @@ def unit(test_xml, file_log=None, cmd_only=False, noexit=False, memchk=False, ca # # on failure, print the problematic test and exit, if requested if not (ret_ok and out_ok): - logger.info("\n".join(set_envs) + cmd + cmd_outs + "\n".join(unset_envs) + "\n") + logger.info("\n".join(set_envs) + "\n" + cmd + cmd_outs + "\n".join(unset_envs) + "\n") if not noexit: sys.exit(1)