From a12a775e7cdef6a361f43bebeb0c66af452a5d0a Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Thu, 4 May 2023 21:11:00 +0200 Subject: [PATCH] fix test --- tests-ng/import-with-trans.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests-ng/import-with-trans.sh b/tests-ng/import-with-trans.sh index 667d869..f9eb60e 100755 --- a/tests-ng/import-with-trans.sh +++ b/tests-ng/import-with-trans.sh @@ -95,9 +95,9 @@ file "${tmps}"/dotfiles/"${tmpd}"/def | grep -i 'tar' tar -cf "${tmps}"/test-def -C "${tmpd}"/def . diff "${tmps}"/dotfiles/"${tmpd}"/def "${tmps}"/test-def -#file "${tmps}"/dotfiles/"${tmpd}"/ghi | grep -i 'gpg symmetrically encrypted data' -#echo p1 | gpg -q --batch --yes --passphrase-fd 0 --no-tty -d "${tmps}"/dotfiles/"${tmpd}"/ghi > "${tmps}"/test-ghi -#diff "${tmps}"/test-ghi "${tmpd}"/ghi +file "${tmps}"/dotfiles/"${tmpd}"/ghi | grep -i 'gpg symmetrically encrypted data\|PGP symmetric key encrypted data' +echo p1 | gpg -q --batch --yes --passphrase-fd 0 --no-tty -d "${tmps}"/dotfiles/"${tmpd}"/ghi > "${tmps}"/test-ghi +diff "${tmps}"/test-ghi "${tmpd}"/ghi # check is imported in config echo "checking imported in config"