From 671b5c6ec68634e7a7becfbaff0f97b5732e130e Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Wed, 25 Jan 2017 07:49:56 -0600 Subject: [PATCH] Support both gpg1 and gpg2 missing key error messages --- test/109_accept_encryption.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/109_accept_encryption.bats b/test/109_accept_encryption.bats index c922afc..0412e68 100644 --- a/test/109_accept_encryption.bats +++ b/test/109_accept_encryption.bats @@ -499,7 +499,7 @@ EOF #; validate status and output [ "$status" -eq 1 ] - [[ "$output" =~ public\ key\ not\ found ]] + [[ "$output" =~ public\ key\ not\ found ]] || [[ "$output" =~ No\ public\ key ]] [[ "$output" =~ Unable\ to\ write ]] }