Regression testing

This commit is contained in:
o9000 2017-09-28 19:39:30 +02:00
parent 13313f64c5
commit e1b29d0204

View file

@ -129,7 +129,7 @@ def get_mem_usage(pid):
else:
raise RuntimeError("Could not parse /proc/[pid]/status")
if not value:
raise RuntimeError("Could not parse /proc/[pid]/status")
value = 0
result = value * 1.0e-6
p = run("./meminfo.py --detailed --private $(pidof tint2)", output=True)
detailed, _ = p.communicate()