From b003a2b1e371f13ff98db916a0193f4252b30a1f Mon Sep 17 00:00:00 2001 From: o9000 Date: Wed, 30 Aug 2017 15:39:34 +0200 Subject: [PATCH] Regression tests --- test/regression.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/regression.py b/test/regression.py index c138408..a6b8b72 100755 --- a/test/regression.py +++ b/test/regression.py @@ -214,10 +214,10 @@ def main(): print("```") print(diff_staged) print("```") - out, _ = run("lsb_release -sd", True) + out, _ = run("lsb_release -sd", True).communicate() out.strip() print("System:", out) - out, _ = run("cat /proc/cpuinfo | grep 'model name' | head -n1 | cut -d ':' -f2", True) + out, _ = run("cat /proc/cpuinfo | grep 'model name' | head -n1 | cut -d ':' -f2", True).communicate() out.strip() print("Hardware:", out) print("")