diff --git a/verify/test.sh b/verify/test.sh index d9a82e8..004bbb9 100755 --- a/verify/test.sh +++ b/verify/test.sh @@ -53,9 +53,8 @@ else fi # --- -if [[ 0 -eq 1 ]]; then +if [[ 1 -eq 1 ]]; then >&2 echo -e "# ---\n# TEST: create sops cfg in curdir: ${PWD}" - echo "ERROR: failing right now" set -x # note: fail if for any reason sops config defined at top level; this repo should not have this! test ! -e "${repo_root}/.sops.yaml" @@ -67,6 +66,8 @@ if [[ 0 -eq 1 ]]; then echo "TEST RC: $?" # teardown # not necessary, all tracked in git + # enmesh: restore, since this particular one is checked in + git checkout "${PWD}/.sops.yaml" else >&2 echo "# INFO: skipping ...." fi