Merge remote-tracking branch 'origin/fix-test-setup-2018-w08' into develop_integration_2018_w08
This commit is contained in:
@@ -13,7 +13,7 @@ class connection:
|
|||||||
try:
|
try:
|
||||||
(pid, fd) = os.forkpty()
|
(pid, fd) = os.forkpty()
|
||||||
except BaseException, e:
|
except BaseException, e:
|
||||||
log("ERROR: forkpty for '" + description + "': " + e)
|
log("ERROR: forkpty for '" + description + "': " + str(e))
|
||||||
(pid, fd) = (-1, -1)
|
(pid, fd) = (-1, -1)
|
||||||
|
|
||||||
if pid == -1:
|
if pid == -1:
|
||||||
@@ -26,7 +26,7 @@ class connection:
|
|||||||
os.execvp('sshpass', ['sshpass', '-p', password,
|
os.execvp('sshpass', ['sshpass', '-p', password,
|
||||||
'ssh', user + '@' + host])
|
'ssh', user + '@' + host])
|
||||||
except BaseException, e:
|
except BaseException, e:
|
||||||
log("ERROR: execvp for '" + description + "': " + e)
|
log("ERROR: execvp for '" + description + "': " + str(e))
|
||||||
log("ERROR: execvp failed for '" + description + "'")
|
log("ERROR: execvp failed for '" + description + "'")
|
||||||
os._exit(1)
|
os._exit(1)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user