X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=t%2Ft4133-apply-filenames.sh;h=94da99075c55c790aae7a260ff6c4964f950c47c;hb=ac2604cf5fb9fcf538289a470ecbe345f7f0c220;hp=34218071b64600812acef5b5e3277346889eda7f;hpb=80b5b6985510406dfb4016cada8013832078930c;p=git.git diff --git a/t/t4133-apply-filenames.sh b/t/t4133-apply-filenames.sh index 34218071b..94da99075 100755 --- a/t/t4133-apply-filenames.sh +++ b/t/t4133-apply-filenames.sh @@ -8,7 +8,7 @@ test_description='git apply filename consistency check' . ./test-lib.sh test_expect_success setup ' - cat > bad1.patch < bad1.patch <err - grep "inconsistent new filename" err - test_must_fail git apply bad2.patch 2>err + test_must_fail git apply bad1.patch 2>err && + grep "inconsistent new filename" err && + test_must_fail git apply bad2.patch 2>err && grep "inconsistent old filename" err '