summaryrefslogtreecommitdiff
path: root/t/t4133-apply-filenames.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t4133-apply-filenames.sh')
-rwxr-xr-xt/t4133-apply-filenames.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/t/t4133-apply-filenames.sh b/t/t4133-apply-filenames.sh
index 34218071b6..2ecb4216b7 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 <<EOF
+ cat > bad1.patch <<EOF &&
diff --git a/f b/f
new file mode 100644
index 0000000..d00491f
@@ -29,10 +29,10 @@ EOF
'
test_expect_success 'apply diff with inconsistent filenames in headers' '
- 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
+ test_must_fail git apply bad1.patch 2>err &&
+ test_i18ngrep "inconsistent new filename" err &&
+ test_must_fail git apply bad2.patch 2>err &&
+ test_i18ngrep "inconsistent old filename" err
'
test_done