Support both gpg1 and gpg2 missing key error messages

pull/57/head
Tim Byrne 6 years ago
parent 08e6cd40cb
commit 671b5c6ec6
No known key found for this signature in database
GPG Key ID: 6CBE24C2FD8CF76E
  1. 2
      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 ]]
}

Loading…
Cancel
Save