Home
last modified time | relevance | path

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

12

/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 …]
/external/autotest/client/virt/tests/
Dwhql_submission.py101 server_session.sendline(cmd)
119 server_session.sendline(params.get("test_device"))
123 server_session.sendline(params.get("job_filter", ".*"))
130 server_session.sendline(dd_params.get("dd_name"))
131 server_session.sendline(dd_params.get("dd_data"))
132 server_session.sendline()
139 server_session.sendline(desc_params.get("desc_path"))
140 server_session.sendline()
149 server_session.sendline(dp_params.get("dim_name"))
150 server_session.sendline(dp_params.get("dim_value"))
[all …]
Dyum_update.py14 session.sendline(command)
22 session.sendline("y")
Dguest_s4.py31 session.sendline(test_s4_cmd)
47 session2.sendline(params.get("set_s4_cmd"))
Dshutdown.py28 session.sendline(vm.get_params().get("shutdown_command"))
Dwatchdog.py29 session.sendline(crash_cmd)
Dmac_change.py45 session_serial.sendline(dhclient_cmd)
Dkdump.py42 session.sendline(crash_cmd)
Dnetstress_kill_guest.py109 session_serial.sendline(quest_netperf_cmd)
Dvlan.py62 session[dst].sendline(listen_cmd)
Dethtool.py126 session2.sendline(tcpdump_cmd)
/external/autotest/server/hosts/
Dssh_host.py290 host.sendline('mkdir -p ~/.ssh')
292 host.sendline('chmod 700 ~/.ssh')
294 host.sendline("echo '%s' >> ~/.ssh/authorized_keys; " %
297 host.sendline('chmod 600 ~/.ssh/authorized_keys')
/external/autotest/client/tests/kvm/tests/
Dnic_bonding.py61 session_serial.sendline("ifenslave -d bond0 " + " ".join(ifnames))
62 session_serial.sendline("kill -9 `pgrep dhclient`")
Dmigration.py56 session.sendline(background_command)
Dksm_overcommit.py30 session.sendline("python /tmp/ksm_overcommit_guest.py")
53 session.sendline(command)
174 session.sendline(a_cmd)
Dnic_hotplug.py119 session.sendline("dhclient %s &" %
Dtimedrift.py110 load_session.sendline(guest_load_command)
Denospc.py136 session_serial.sendline(cmd)
/external/autotest/client/site_tests/security_RootCA/
Dsecurity_RootCA.py65 child.sendline('foo')
67 child.sendline('foo')
75 nssmodutil.sendline('\n')
/external/autotest/client/virt/
Daexpect.py625 def sendline(self, str=""): member in Spawn
1159 self.sendline()
1225 self.sendline(cmd)
Dvirt_test_utils.py109 session.sendline(vm.get_params().get("reboot_command"))
705 session.sendline(session.status_test_command)
Dvirt_utils.py634 session.sendline("yes")
639 session.sendline(password)
648 session.sendline(username)
786 session.sendline("yes")
792 session.sendline(password_list[password_prompt_count])
801 session.sendline(password_list[password_prompt_count])
Dkvm_vm.py886 session.sendline(self.params.get("shutdown_command"))
1303 session.sendline(self.params.get("reboot_command"))

12