d/tests/build: Fail if using an undefined variable ("unofficial strict mode")

This commit is contained in:
Simon McVittie
2019-12-12 17:38:22 +00:00
parent aedcd59ed9
commit 0b31aa3705
2 changed files with 3 additions and 0 deletions

1
debian/tests/build vendored
View File

@ -5,6 +5,7 @@
# Author: Martin Pitt <martin.pitt@ubuntu.com>
set -e
set -u
set -x
WORKDIR=$(mktemp -d)