Message ID | 1287557753-13831-1-git-send-email-fyang@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/client/tests/kvm/kvm_utils.py b/client/tests/kvm/kvm_utils.py index a51c857..526d38d 100644 --- a/client/tests/kvm/kvm_utils.py +++ b/client/tests/kvm/kvm_utils.py @@ -733,7 +733,7 @@ def remote_login(client, host, port, username, password, prompt, linesep="\n", elif client == "telnet": cmd = "telnet -l %s %s %s" % (username, host, port) elif client == "nc": - cmd = "nc %s %s" % (host, port) + cmd = "nc %s %s -w %s" % (host, port, timeout) else: logging.error("Unknown remote shell client: %s" % client) return