diff --git a/verify/test.sh b/verify/test.sh index 004bbb9..c672f2f 100755 --- a/verify/test.sh +++ b/verify/test.sh @@ -46,7 +46,7 @@ if [[ 1 -eq 1 ]]; then echo "TEST RC: $?" # teardown # enmesh: restore, since this particular one is checked in - git checkout "${PWD}/.sops.yaml" + git checkout "${PWD}/.sops.yaml" > /dev/null 2>&1 rm "${repo_root}/.sops.yaml" else >&2 echo "# INFO: skipping ...." @@ -59,7 +59,7 @@ if [[ 1 -eq 1 ]]; then # note: fail if for any reason sops config defined at top level; this repo should not have this! test ! -e "${repo_root}/.sops.yaml" rm "${PWD}/.sops.yaml" || : - ../bin/update_sops.sh -c "${PWD}" -s "${secrets_file}" + ../bin/update_sops.sh -c "${PWD}" -s "${secrets_file}" > /dev/null 2>&1 test -e "${PWD}/.sops.yaml" test ! -e "${repo_root}/.sops.yaml" set +x