Compare commits

...

1 Commits

Author SHA1 Message Date
Oliver Smith 50151eb909
Qemu test: connect to 127.0.0.1, not localhost
Since yesterday, the Qemu testcase is failing on Travis CI with:
	ssh: connect to host localhost port 2222: Address not available

This commit replaces "localhost" with "127.0.0.1".
2018-06-28 15:16:39 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ def ssh_run(args, command):
ret = pmb.chroot.user(args, ["SSH_ASKPASS=/tmp/y.sh", "DISPLAY=", "ssh",
"-o", "UserKnownHostsFile=/dev/null",
"-o", "StrictHostKeyChecking=no",
"-p", "2222", "testuser@localhost", "--",
"-p", "2222", "testuser@127.0.0.1", "--",
command],
check=False, return_stdout=True)
return ret