fix bug 4088:xdsh to IBM RackSwitch does not work

This commit is contained in:
zhaoertao 2014-04-21 01:32:29 -07:00
parent 7b4f28da60
commit 3b826ad2be

View File

@ -115,6 +115,7 @@ sub run_remote_shell_api {
my $rc=1;
if ($t) {
#Wait for command prompt
$t->print("\t");
my ($prematch, $match) = $t->waitfor(Match => '/login[: ]*$/i',
Match => '/username[: ]*$/i',
Match => '/password[: ]*$/i',