From 8f2270fe56becb488b576307c99b77e82918da0f Mon Sep 17 00:00:00 2001 From: LeeW Date: Mon, 17 Feb 2025 13:12:10 +0100 Subject: [PATCH] fix: iterate fix for sops.yaml not created in specified config dir - fixed! --- verify/test.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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