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
changes/53/36453/6
Guillem Jover 7 years ago
parent 870075516d
commit 85d1db0214

@ -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]}"

Loading…
Cancel
Save