tests: Have DEBUG=1 set bash xtrace

This is similarly used in image_builder.sh and can be handy to
determine what is happening. Unfold the 'set' short options while
we are at it

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2020-03-02 13:36:38 -05:00
parent 555ddf331a
commit 1ae392285e

View File

@ -4,7 +4,10 @@
#
# SPDX-License-Identifier: Apache-2.0
set -euo pipefail
set -o errexit
set -o nounset
set -o pipefail
[ -n "${DEBUG:-}" ] && set -o xtrace
readonly script_dir="$(dirname $(readlink -f $0))"
readonly script_name=${0##*/}