Set output for local command
Set 'output' property for local command. This is required for 'mktemp' to work similarly in both cases (local and remote command). Change-Id: Ic4efe586683424c7145e811aa3495cf23e8f550e Closes-bug: 1528815
This commit is contained in:
parent
bf79f1ac08
commit
63645dea38
|
@ -118,6 +118,7 @@ class Driver(object):
|
|||
logger.debug("Running local command: %s", command)
|
||||
out.return_code, out.stdout, out.stderr = utils.execute(
|
||||
command)
|
||||
out.output = out.stdout
|
||||
except fabric.exceptions.NetworkError as e:
|
||||
logger.error("NetworkError occured: %s", str(e))
|
||||
raise
|
||||
|
|
|
@ -107,6 +107,7 @@ class TestDriver(base.BaseTestCase):
|
|||
out = shotgun.driver.CommandOut()
|
||||
out.stdout = "STDOUT"
|
||||
out.stderr = "STDERR"
|
||||
out.output = "STDOUT"
|
||||
out.return_code = "RETURN_CODE"
|
||||
|
||||
command = "COMMAND"
|
||||
|
|
Loading…
Reference in New Issue