Merge branch 'sg/completion-gitcomp-nl-for-refs' into maint
[gitweb.git] / t / t7510-signed-commit.sh
index 474dab381aef027207026cb938df7a09cc7a9056..3cef18cfdaa587d12aafec5fe32742f0356fc501 100755 (executable)
@@ -86,8 +86,8 @@ test_expect_success GPG 'show signed commit with signature' '
        git show -s --show-signature initial >show &&
        git verify-commit -v initial >verify.1 2>verify.2 &&
        git cat-file commit initial >cat &&
-       grep -v "gpg: " show >show.commit &&
-       grep "gpg: " show >show.gpg &&
+       grep -v -e "gpg: " -e "Warning: " show >show.commit &&
+       grep -e "gpg: " -e "Warning: " show >show.gpg &&
        grep -v "^ " cat | grep -v "^gpgsig " >cat.commit &&
        test_cmp show.commit commit &&
        test_cmp show.gpg verify.2 &&