diff --git a/test/regression.py b/test/regression.py index f259308..ed297aa 100755 --- a/test/regression.py +++ b/test/regression.py @@ -62,7 +62,7 @@ def sleep(n): def install_deps_ubuntu(): - p = run(["sudo", "apt-get update; apt-get build-dep tint2; apt-get install -y git Xvfb xsettingsd openbox compton x11-utils gnome-calculator"]) + p = run(["sudo", "bash", "-c", "apt-get update; apt-get build-dep tint2; apt-get install -y git Xvfb xsettingsd openbox compton x11-utils gnome-calculator"]) out, _ = p.communicate() if p.returncode != 0: print_err("Process exited with code:", p.returncode, "and output:", out)