summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-03-01 13:17:18 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-03-01 13:17:18 -0800
commit06d67b876642822828596b0b38cda2f61d438335 (patch)
tree67de0d436a69443bf288411323b0ed209a6cb000 /t
parentMerge branch 'maint' (diff)
parentGit 1.8.1.5 (diff)
downloadtgif-06d67b876642822828596b0b38cda2f61d438335.tar.xz
Sync with 1.8.1.5
Diffstat (limited to 't')
-rwxr-xr-xt/t0003-attributes.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t0003-attributes.sh b/t/t0003-attributes.sh
index 43b25137e9..0b98b6f8d0 100755
--- a/t/t0003-attributes.sh
+++ b/t/t0003-attributes.sh
@@ -198,7 +198,8 @@ test_expect_success 'root subdir attribute test' '
test_expect_success 'negative patterns' '
echo "!f test=bar" >.gitattributes &&
- test_must_fail git check-attr test -- f
+ git check-attr test -- '"'"'!f'"'"' 2>errors &&
+ test_i18ngrep "Negative patterns are ignored" errors
'
test_expect_success 'patterns starting with exclamation' '