diff --git a/utils/tests.sh b/utils/tests.sh index 169a0c40..345ceeed 100755 --- a/utils/tests.sh +++ b/utils/tests.sh @@ -7,7 +7,7 @@ set -e # Running all the bats-tests in a dir with spaces: cd "${SECRET_PROJECT_ROOT}"; rm -rf 'tempdir with spaces'; mkdir 'tempdir with spaces'; cd 'tempdir with spaces'; -export SECRETS_DIR=.gitsecret +export SECRETS_DIR=.gitsecret-testdir # bats expects diagnostic lines to be sent to fd 3, matching reges '^ #' (IE, like: `echo '# message here' >&3`) # bats ... 3>&1 shows diagnostic output when errors occur.