mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 15:02:45 +00:00
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:
parent
555ddf331a
commit
1ae392285e
@ -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##*/}
|
||||
|
Loading…
Reference in New Issue
Block a user