[tests] Define unbound variables in test scripts
This commit is contained in:
parent
649a9e2239
commit
b725eb141a
@ -4,6 +4,7 @@
|
||||
set -eu
|
||||
|
||||
export BEAKERLIB_DIR=$(mktemp -d /tmp/composer-test.XXXXXX)
|
||||
CLI="${CLI:-}"
|
||||
|
||||
function setup_tests {
|
||||
local share_dir=$1
|
||||
|
@ -1,5 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
top_srcdir="${top_srcdir:-}"
|
||||
top_buildir="${top_builddir:-}"
|
||||
PYTHONPATH="${PYTHONPATH:-}"
|
||||
|
||||
if [ -z "$top_srcdir" ]; then
|
||||
echo "*** top_srcdir must be set"
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user