travis-ci: prohibit uninitialized variables in managers/

The scripts in this directory rely on certain environment variables, so
fail if they are not set in order to improve the debugging experience.
The vmtest/ scripts already do it.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
This commit is contained in:
Ilya Leoshkevich
2021-03-31 00:56:46 +02:00
committed by Andrii Nakryiko
parent 0c248143d4
commit 915f3abe94
2 changed files with 2 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ function docker_exec() {
docker exec $ENV_VARS -it $CONT_NAME "$@"
}
set -e
set -eu
source "$(dirname $0)/travis_wait.bash"

View File

@@ -1,6 +1,5 @@
#!/bin/bash
set -e
set -x
set -eux
RELEASE="bionic"