Lines Matching refs:output
21 OUTPUT_PATH = "testModule/output"
26 def CheckRom(output):
27 result = re.findall("(/d+)K", output)
30 def CheckRam(output):
31 result = re.findall("\s*Total\s*(\d+)\s*", output)[0]
39 output = subprocess.check_output(f"hdc shell ls -lh /system/lib/libhidumper*", shell=True, text=True, encoding="utf-8")
40 assert CheckRom(output)
46 output = subprocess.check_output(f"hdc shell hidumper --mem `pidof hidumper_service`", shell=True, text=True, encoding="utf-8")
47 assert CheckRam(output)
52 output = subprocess.check_output(f"hdc shell \"ls -Z /system/bin | grep hidumper\"", shell=True, text=True, encoding="utf-8")
53 assert "u:object_r:hidumper_exec:s0" in output
59 output = subprocess.check_output(f"hdc shell \"ps -eZ | grep hidumper\"", shell=True, text=True, encoding="utf-8")
60 assert "u:r:hidumper_service:s0" in output