rename test to show SECRETS_DIR. add debug output.

pull/251/head
joshr 6 years ago
parent d670178150
commit 6eedaab489

@ -28,9 +28,15 @@ function teardown {
}
@test "run 'usage' with ignored '.gitsecret/'" {
echo ".gitsecret" >> ".gitignore"
#_SECRETS_DIR=${SECRETS_DIR:-".gitsecret"}
@test "run 'usage' with ignored '${_SECRETS_DIR}'" {
echo "${_SECRETS_DIR}" >> ".gitignore"
echo "# clear-line-output" >&3
echo "# SECRETS_DIR is ${_SECRETS_DIR}" >&3
run git secret usage
echo "# git secret usage -> status $status" >&3
[ "$status" -eq 1 ]
}

Loading…
Cancel
Save