diff --git a/test/109_accept_encryption.bats b/test/109_accept_encryption.bats index 096c66c..788dfaa 100644 --- a/test/109_accept_encryption.bats +++ b/test/109_accept_encryption.bats @@ -76,7 +76,7 @@ function validate_archive() { foreach {pid spawnid os_error_flag value} [wait] break EOF else - gpg -q -d "$T_YADM_ARCHIVE" || echo 1 | tar t | sort > "$T_TMP/archive_list" + gpg -q -d "$T_YADM_ARCHIVE" | tar t | sort > "$T_TMP/archive_list" fi #; inventory what is expected in the archive @@ -534,7 +534,7 @@ EOF run expect <