From 85d1db021437b85871d6e65f184a770eb0064469 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Thu, 19 Dec 2019 19:39:45 +0100 Subject: [PATCH] TT#72351 Cleanup goss execution Move the exporting of the variable to its own, and split the goss execution into multiple lines to make it easier to modify and read. Change-Id: I6bd1735dd3cb6e61807fafe1ccb54e48ca070dfb --- testrunner | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/testrunner b/testrunner index 055ea8e..28fe4fa 100755 --- a/testrunner +++ b/testrunner @@ -52,6 +52,9 @@ case "${DEBIAN_RELEASE}" in DEBIAN_RELEASE=11 ;; esac -DEBIAN_RELEASE=$DEBIAN_RELEASE goss -g "/etc/ngcp-system-tests/goss.yaml" validate --format tap | tee "${TAP_RESULTS}" +export DEBIAN_RELEASE + +goss -g "/etc/ngcp-system-tests/goss.yaml" validate --format tap \ + | tee "${TAP_RESULTS}" exit "${PIPESTATUS[0]}"