Commit 88a67a5f authored by 郭阔's avatar 郭阔

fix: login test output captures stderr too

parent 3e8496f6
...@@ -1041,7 +1041,7 @@ def login_test(source): ...@@ -1041,7 +1041,7 @@ def login_test(source):
with _login_test_lock: with _login_test_lock:
_login_test[source] = { _login_test[source] = {
"running": False, "done": True, "rc": rc, "running": False, "done": True, "rc": rc,
"output": (out or err or "")[-2000:], "output": ((out or "") + (("\n" + err) if err else ""))[-2000:],
"start": _login_test[source]["start"], "start": _login_test[source]["start"],
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment