Home
last modified time | relevance | path

Searched refs:sendline (Results 1 – 6 of 6) sorted by relevance

/external/autotest/site_utils/rpm_control_system/
Drpm_controller_unittest.py70 self.ssh.sendline(password)
72 self.ssh.sendline('%s %s' % (new_state, self.powerunit_info.outlet))
74 self.ssh.sendline('logout')
88 self.ssh.sendline(password)
90 self.ssh.sendline('%s %s' % (new_state, self.powerunit_info.outlet))
93 self.ssh.sendline('logout')
176 mock_ssh.sendline(mox.IgnoreArg())
178 mock_ssh.sendline(mox.IgnoreArg())
193 mock_ssh.sendline(sut.CONFIG)
195 mock_ssh.sendline(sut.CONFIG_IF % self.PORT)
[all …]
Drpm_controller.py290 ssh.sendline(rpm_config.get('HYDRA', 'admin_password'))
292 ssh.sendline(RPMController.CLI_CMD)
301 ssh.sendline(RPMController.CLI_KILL_PREVIOUS)
303 ssh.sendline(RPMController.PORT_STATUS_CMD)
308 ssh.sendline(RPMController.SESSION_KILL_CMD_FORMAT % port_number)
333 ssh.sendline('')
342 ssh.sendline(rpm_config.get('HYDRA','password'))
343 ssh.sendline('')
427 ssh.sendline(self._username)
439 ssh.sendline(self._password)
[all …]
/external/autotest/client/common_lib/
Dpxssh.py134 self.sendline()
138 self.sendline()
142 self.sendline()
146 self.sendline()
201 self.sendline("yes")
204 self.sendline(password)
207 self.sendline(terminal_type)
261 self.sendline("exit")
264 self.sendline("exit")
299 self.sendline ("unset PROMPT_COMMAND")
[all …]
Dpexpect.py956 def sendline(self, s=''): member in spawn
/external/ltp/testcases/kernel/sched/clisrv/
Dpthcli.c66 char sendline[MAXLINE], recvline[MAXLINE + 1]; in str_cli() local
68 while (fgets(sendline, MAXLINE, fp) != NULL) { in str_cli()
69 n = strlen(sendline); in str_cli()
71 dprt("%s: str_cli(): sendline = %s", __FILE__, sendline); in str_cli()
73 if (writen(sockfd, sendline, n) != n) in str_cli()
/external/autotest/server/hosts/
Dssh_host.py458 host.sendline('mkdir -p ~/.ssh')
460 host.sendline('chmod 700 ~/.ssh')
462 host.sendline("echo '%s' >> ~/.ssh/authorized_keys; " %
465 host.sendline('chmod 600 ~/.ssh/authorized_keys')