X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft7008-grep-binary.sh;h=917a264eea6c6b3593e9f19caadbef715daace20;hb=0e1cfc52de002e2d9b0e6562e8672fee3bf45a67;hp=e058d184d1c072bd3078fe17ad41f1026f093201;hpb=eb4e67288bb9d66fb46092fa30d72c4bdded0c2a;p=git.git diff --git a/t/t7008-grep-binary.sh b/t/t7008-grep-binary.sh index e058d184d..917a264ee 100755 --- a/t/t7008-grep-binary.sh +++ b/t/t7008-grep-binary.sh @@ -84,7 +84,7 @@ test_expect_success 'git grep -Fi Yf a' " git grep -f f -Fi a " -test_expect_failure 'git grep -Fi Yx a' " +test_expect_success 'git grep -Fi Yx a' " printf 'YQx' | q_to_nul >f && test_must_fail git grep -f f -Fi a " @@ -94,7 +94,7 @@ test_expect_success 'git grep yf a' " git grep -f f a " -test_expect_failure 'git grep yx a' " +test_expect_success 'git grep yx a' " printf 'yQx' | q_to_nul >f && test_must_fail git grep -f f a "