From 828b38bd12d1973feaf2d043f167dc6979eb0e6c Mon Sep 17 00:00:00 2001 From: Jiri Kucera Date: Mon, 25 May 2020 02:57:28 +0200 Subject: [PATCH] rhts-environment.sh contains unbound variables --- tests/Sanity/basic-sanity/runtest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Sanity/basic-sanity/runtest.sh b/tests/Sanity/basic-sanity/runtest.sh index f265cfd..26909ca 100755 --- a/tests/Sanity/basic-sanity/runtest.sh +++ b/tests/Sanity/basic-sanity/runtest.sh @@ -25,14 +25,14 @@ # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -set -uo pipefail - _TESTDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)" # Include Beaker environment . /usr/bin/rhts-environment.sh || exit 1 . /usr/share/beakerlib/beakerlib.sh || exit 1 +set -uo pipefail + # Include utils . ${_TESTDIR}/../../utils/utils.sh || { echo "${_TESTDIR}/../../utils/utils.sh cannot be included." >&2