Home
last modified time | relevance | path

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

/external/autotest/site_utils/rpm_control_system/
Drpm_controller_unittest.py71 self.ssh.sendline(password)
73 self.ssh.sendline('%s %s' % (new_state, self.powerunit_info.outlet))
75 self.ssh.sendline('logout')
89 self.ssh.sendline(password)
91 self.ssh.sendline('%s %s' % (new_state, self.powerunit_info.outlet))
94 self.ssh.sendline('logout')
192 pexpect.spawn.sendline(self.poe._username)
195 pexpect.spawn.sendline(self.poe._password)
213 pexpect.spawn.sendline('configure terminal')
216 pexpect.spawn.sendline('interface %s' % self.PORT)
[all …]
Drpm_controller.py293 ssh.sendline(rpm_config.get('HYDRA', 'admin_password'))
295 ssh.sendline(RPMController.CLI_CMD)
304 ssh.sendline(RPMController.CLI_KILL_PREVIOUS)
306 ssh.sendline(RPMController.PORT_STATUS_CMD)
311 ssh.sendline(RPMController.SESSION_KILL_CMD_FORMAT % port_number)
336 ssh.sendline('')
345 ssh.sendline(rpm_config.get('HYDRA','password'))
346 ssh.sendline('')
430 ssh.sendline(self._username)
442 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.c67 char sendline[MAXLINE], recvline[MAXLINE + 1]; local
69 while (fgets(sendline, MAXLINE, fp) != NULL) {
70 n = strlen(sendline);
72 dprt("%s: str_cli(): sendline = %s", __FILE__, sendline);
74 if (writen(sockfd, sendline, n) != n)
/external/autotest/server/hosts/
Dssh_host.py423 host.sendline('mkdir -p ~/.ssh')
425 host.sendline('chmod 700 ~/.ssh')
427 host.sendline("echo '%s' >> ~/.ssh/authorized_keys; " %
430 host.sendline('chmod 600 ~/.ssh/authorized_keys')
/external/autotest/client/site_tests/security_RootCA/
Dsecurity_RootCA.py65 child.sendline('foo')
67 child.sendline('foo')
75 nssmodutil.sendline('\n')