From: Jason Ish Date: Fri, 10 Dec 2021 18:27:11 +0000 (-0600) Subject: runner: more detail when shell check fails X-Git-Tag: suricata-6.0.5~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d666f565129a03824c13d0d5c70e90073a0a11e3;p=thirdparty%2Fsuricata-verify.git runner: more detail when shell check fails --- diff --git a/run.py b/run.py index 8b076fffe..436c259a9 100755 --- a/run.py +++ b/run.py @@ -400,7 +400,8 @@ class ShellCheck: return str(self.config["expect"]) == output.decode().strip() return True except subprocess.CalledProcessError as err: - raise TestError(err) + raise TestError("Shell command failed: {} -> {}".format( + self.config, err.output)) class StatsCheck: