|
|
@ -7,6 +7,6 @@ set -e
|
|
|
|
# Running all the bats-tests in a dir with spaces:
|
|
|
|
# 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';
|
|
|
|
cd "${SECRET_PROJECT_ROOT}"; rm -rf 'tempdir with spaces'; mkdir 'tempdir with spaces'; cd 'tempdir with spaces';
|
|
|
|
|
|
|
|
|
|
|
|
# bats expects diagnostic lines to be sent to fd 3, matching reges '^ #' (IE, like: echo "# message here")
|
|
|
|
# bats expects diagnostic lines to be sent to fd 3, matching reges '^ #' (IE, like: `echo '# message here' >&3`)
|
|
|
|
# 3>&1 shows diagnostic output when errors occur.
|
|
|
|
# bats ... 3>&1 shows diagnostic output when errors occur.
|
|
|
|
bats --tap "${SECRET_PROJECT_ROOT}/tests/" 3>&1
|
|
|
|
bats "${SECRET_PROJECT_ROOT}/tests/" 3>&1
|
|
|
|