Skip to content

Commit

Permalink
make it easier to cut&paste the filename
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@19476 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed May 26, 2018
1 parent 2e86583 commit 8ebc6f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def _test(self, subcommand="start", options={}):
gui_client = self.run_xpra(xpra_args, **client_kwargs)
r = pollwait(gui_client, 5)
if r is not None:
log.warn("gui client stdout=%s", gui_client.stdout_file)
log.warn("gui client stdout: %s", gui_client.stdout_file)
assert r is None, "gui client terminated early and returned %i for server with args=%s" % (r, args)

if self.display:
Expand Down
4 changes: 2 additions & 2 deletions src/unittests/unit/server_test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ def run_command(cls, command, env=None, **kwargs):
if "stdout" not in kwargs:
stdout_file = cls._temp_file(prefix="xpra-stdout-")
kwargs["stdout"] = stdout_file
log("stdout=%s for %s", stdout_file.name, strcommand)
log("stdout: %s for %s", stdout_file.name, strcommand)
if "stderr" not in kwargs:
stderr_file = cls._temp_file(prefix="xpra-stderr-")
kwargs["stderr"] = stderr_file
log("stderr=%s for %s", stderr_file.name, strcommand)
log("stderr: %s for %s", stderr_file.name, strcommand)
try:
proc = subprocess.Popen(args=command, **kwargs)
proc.stdout_file = stdout_file
Expand Down

0 comments on commit 8ebc6f7

Please sign in to comment.