Home
last modified time | relevance | path

Searched refs:cmd_output (Results 1 – 25 of 32) sorted by relevance

12

/external/autotest/client/site_tests/security_StatefulPermissions/
Dsecurity_StatefulPermissions.py177 cmd_output = self.subst_run(cmd)
178 logging.error(cmd_output)
229 cmd_output = self.subst_run(cmd)
231 if not cmd_output:
236 logging.error("[Got %s]", cmd_output)
237 elif not re.search("^\s*EOF\s*$", cmd_output):
241 user, cmd_output)
/external/autotest/client/tests/kvm/tests/
Dpci_hotplug.py36 reference = session.cmd_output(params.get("reference_cmd"))
43 cmd_output = vm.monitor.cmd("?")
44 if len(re.findall("\ndevice_add", cmd_output)) > 0:
46 elif len(re.findall("\npci_add", cmd_output)) > 0:
53 if len(re.findall("\n__com.redhat_drive_add", cmd_output)) > 0:
56 elif len(re.findall("\ndrive_add", cmd_output)) > 0:
169 o = session.cmd_output(params.get("reference_cmd"))
180 o = session.cmd_output(params.get("find_pci_cmd"))
Dmigration.py52 reference_output = session.cmd_output(test_command)
90 output = session2.cmd_output(test_command)
107 session2.cmd_output(params.get("migration_bg_kill_command", ""))
Dmulti_disk.py43 output = session.cmd_output(cmd, timeout=cmd_timeout)
86 output = session.cmd_output(cmd)
99 output = session.cmd_output(cmd)
/external/autotest/client/site_tests/security_RootfsOwners/
Dsecurity_RootfsOwners.py20 cmd_output = utils.system_output(cmd, ignore_status=True)
22 if (cmd_output != '') :
23 logging.error(cmd_output)
/external/autotest/client/virt/tests/
Dwhql_client_install.py63 server_name = server_session.cmd_output(cmd).strip()
64 client_name = session.cmd_output(cmd).strip()
66 server_workgroup = server_session.cmd_output(cmd).strip()
70 o = server_session.cmd_output(cmd).strip().splitlines()[-1]
Dmulticast.py58 output = session.cmd_output("python /tmp/multicast_guest.py %d %s %d" %
88 logging.debug(session.cmd_output("ipmaddr show"))
89 session.cmd_output("kill -s SIGCONT %s" % pid)
Dkdump.py38 session.cmd_output("rm -rf /var/crash/*")
55 session.cmd_output("rm -rf /var/crash/*")
Dethtool.py82 o = session.cmd_output("md5sum %s" % name)
99 session2.cmd_output("rm -rf %s" % filename)
109 session.cmd_output(dd_cmd, timeout=360)
Dvlan.py73 output = session[dst].cmd_output("md5sum receive").strip()
81 session[dst].cmd_output("rm -f receive")
103 session[i].cmd_output("/etc/init.d/iptables stop")
Dnetperf.py31 session_serial.cmd_output(firewall_flush)
106 session_serial.cmd_output("killall netserver")
Dioquit.py20 session.cmd_output(bg_cmd, timeout=60)
Dclock_getres.py32 logging.info("Guest's dmesg:\n%s", session.cmd_output("dmesg").strip())
Dlinux_s3.py24 src_tty = session.cmd_output("fgconsole").strip()
Diozone_windows.py30 results = session.cmd_output(cmd=c, timeout=t)
Dguest_s4.py74 session2.cmd_output(params.get("kill_test_s4_cmd"))
Dwhql_submission.py66 server_name = server_session.cmd_output(cmd).strip()
67 client_names = [session.cmd_output(cmd).strip() for session in sessions]
Dguest_test.py62 session.cmd_output("del %s" % dst_rsc_path, internal_timeout=0)
/external/autotest/client/site_tests/security_ProfilePermissions/
Dsecurity_ProfilePermissions.py108 cmd_output = utils.system_output(cmd, ignore_status=True)
109 if cmd_output:
111 logging.error(cmd_output)
/external/autotest/client/virt/
Dvirt_test_utils.py309 o = session.cmd_output("sc stop %s" % service, timeout=60)
331 o = session.cmd_output("sc start %s" % service, timeout=60)
363 s = session.cmd_output(time_command)
460 output = session.cmd_output("md5sum %s" % remote_path)
525 output = session.cmd_output("cat results/*/status")
598 bg = virt_utils.Thread(session.cmd_output,
610 session.cmd_output("bin/autotest control", timeout=timeout,
692 output = session.cmd_output(command, timeout=timeout,
775 output = session.cmd_output("ifconfig -a")
/external/autotest/client/site_tests/security_SuidBinaries/
Dsecurity_SuidBinaries.py53 cmd_output = utils.system_output(cmd, ignore_status=True)
54 observed_set = set(cmd_output.splitlines())
/external/autotest/client/site_tests/security_RootfsStatefulSymlinks/
Dsecurity_RootfsStatefulSymlinks.py81 cmd_output = utils.system_output(cmd, ignore_status=True)
83 links_seen = set(cmd_output.splitlines())
/external/autotest/client/site_tests/security_NetworkListeners/
Dsecurity_NetworkListeners.py90 cmd_output = utils.system_output(cmd, ignore_status=True,
93 lsof_lines = cmd_output.splitlines()[1:]
/external/autotest/server/site_tests/kernel_ExternalUsbPeripheralsDetectionStress/
Dkernel_ExternalUsbPeripheralsDetectionStress.py168 cmd_output = self.host.run(cmd).stdout.strip().split('\n')
169 for d in cmd_output:
/external/autotest/server/cros/
Dsonic_extension_downloader.py105 cmd_output = utils.run(unzip_cmd, ignore_status=True, timeout=1)

12