e2e: Use pipefail for test scripts

This commit is contained in:
2022-06-23 18:57:58 +02:00
parent 95da48b5e6
commit ad7ef9277e

View File

@@ -25,7 +25,7 @@ def grm(args, cwd=None, is_invalid=False):
def shell(script):
script = "set -o errexit\nset -o nounset\n" + script
script = "set -o errexit\nset -o nounset\nset -o pipefail\n" + script
subprocess.run(["bash"], input=script, text=True, check=True)