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 b14184d3c8
commit ba21ba9e80

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',