Merge branch 'maint'
[gitweb.git] / t / t4150-am.sh
index 6e6aaf59364456e21bb1deda960edb5295a71131..796f795267dee1eaf63b10fb3e5e14ce0431bebd 100755 (executable)
@@ -164,8 +164,8 @@ test_expect_success 'am --keep really keeps the subject' '
        git checkout HEAD^ &&
        git am --keep patch4 &&
        ! test -d .git/rebase-apply &&
-       git-cat-file commit HEAD |
-               grep -q -F "Re: Re: Re: [PATCH 1/5 v2] third"
+       git cat-file commit HEAD |
+               fgrep "Re: Re: Re: [PATCH 1/5 v2] third"
 '
 
 test_expect_success 'am -3 falls back to 3-way merge' '