aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-02-10 13:46:15 -0800
committerJunio C Hamano <gitster@pobox.com>2010-02-10 13:46:15 -0800
commitd1672d90bae20d33512fbf8f9b8330e5840da0c5 (patch)
tree66db4fbb14b3dde2beb64d5498bbee5fc4a47e3d /t
parent3c651491f28e01a9ee0ddaecd05fb7a211d218c3 (diff)
parent4133fd25525022f99d2c7ba339618433bdd919fe (diff)
downloadgit-d1672d90bae20d33512fbf8f9b8330e5840da0c5.tar.gz
git-d1672d90bae20d33512fbf8f9b8330e5840da0c5.tar.xz
Sync with 1.6.6.2
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t8003-blame.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/t/t8003-blame.sh b/t/t8003-blame.sh
index 4a8db74f7..3bbddd03c 100755
--- a/t/t8003-blame.sh
+++ b/t/t8003-blame.sh
@@ -158,11 +158,13 @@ EOF
'
test_expect_success 'blame -L with invalid start' '
- test_must_fail git blame -L5 tres 2>&1 | grep "has only 2 lines"
+ test_must_fail git blame -L5 tres 2>errors &&
+ grep "has only 2 lines" errors
'
test_expect_success 'blame -L with invalid end' '
- git blame -L1,5 tres 2>&1 | grep "has only 2 lines"
+ test_must_fail git blame -L1,5 tres 2>errors &&
+ grep "has only 2 lines" errors
'
test_done