summaryrefslogtreecommitdiff
path: root/t/t8003-blame.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-02-10 13:46:15 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-02-10 13:46:15 -0800
commitd1672d90bae20d33512fbf8f9b8330e5840da0c5 (patch)
tree66db4fbb14b3dde2beb64d5498bbee5fc4a47e3d /t/t8003-blame.sh
parentDocumentation: quote braces in {upstream} notation (diff)
parentGit 1.6.6.2 (diff)
downloadtgif-d1672d90bae20d33512fbf8f9b8330e5840da0c5.tar.xz
Sync with 1.6.6.2
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t8003-blame.sh')
-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 4a8db74f7e..3bbddd03cb 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