diff --git a/verify/test.sh b/verify/test.sh index 9ff64ce..6313c1d 100755 --- a/verify/test.sh +++ b/verify/test.sh @@ -30,7 +30,6 @@ EOM mv .sops.yaml.tmp .sops.yaml # TEST -set -x # define "fixture" repo_root="$(git rev-parse --show-toplevel)" >&2 echo -e "# ---\n# TEST: create sops cfg in default dir: ${repo_root}" @@ -38,7 +37,7 @@ set -x rm "${PWD}/.sops.yaml" || : # note: fail if for any reason sops config defined at top level; this repo should not have this! test ! -e "${repo_root}/.sops.yaml" -../bin/update_sops.sh -s "${secrets_file}" +../bin/update_sops.sh -s "${secrets_file}" > /dev/null 2>&1 test ! -e "${PWD}/.sops.yaml" test -e "${repo_root}/.sops.yaml" set +x