summaryrefslogtreecommitdiff
path: root/t/t1050-large.sh
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-03-07 10:54:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-03-07 17:07:38 (GMT)
commit00c8fd493afbd1620febf2b895fb2365f76d5875 (patch)
treec68a098892f440a34077663ab4ee580c31320a9b /t/t1050-large.sh
parentd41489a6424308dc9a0409bc2f6845aa08bd4f7d (diff)
downloadgit-00c8fd493afbd1620febf2b895fb2365f76d5875.zip
git-00c8fd493afbd1620febf2b895fb2365f76d5875.tar.gz
git-00c8fd493afbd1620febf2b895fb2365f76d5875.tar.bz2
cat-file: use streaming API to print blobs
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1050-large.sh')
-rwxr-xr-xt/t1050-large.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t1050-large.sh b/t/t1050-large.sh
index ded66b3..f662fef 100755
--- a/t/t1050-large.sh
+++ b/t/t1050-large.sh
@@ -116,11 +116,11 @@ test_expect_success 'hash-object' '
git hash-object large1
'
-test_expect_failure 'cat-file a large file' '
+test_expect_success 'cat-file a large file' '
git cat-file blob :large1 >/dev/null
'
-test_expect_failure 'cat-file a large file from a tag' '
+test_expect_success 'cat-file a large file from a tag' '
git tag -m largefile largefiletag :large1 &&
git cat-file blob largefiletag >/dev/null
'