From: Tay Ray Chuan Date: Sat, 6 Jun 2009 08:43:32 +0000 (+0800) Subject: t5550-http-fetch: test fetching of packed objects X-Git-Tag: v1.6.4-rc0~60^2~17 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=96a4f187353d176d8fa32242875ffdad2ba38a0a;p=git.git t5550-http-fetch: test fetching of packed objects Signed-off-by: Tay Ray Chuan Signed-off-by: Junio C Hamano --- diff --git a/t/t5550-http-fetch.sh b/t/t5550-http-fetch.sh index 05b1b62cb..0e6932465 100755 --- a/t/t5550-http-fetch.sh +++ b/t/t5550-http-fetch.sh @@ -53,5 +53,13 @@ test_expect_success 'http remote detects correct HEAD' ' ) ' +test_expect_success 'fetch packed objects' ' + cp -R "$HTTPD_DOCUMENT_ROOT_PATH"/repo.git "$HTTPD_DOCUMENT_ROOT_PATH"/repo_pack.git && + cd "$HTTPD_DOCUMENT_ROOT_PATH"/repo_pack.git && + git --bare repack && + git --bare prune-packed && + git clone $HTTPD_URL/repo_pack.git +' + stop_httpd test_done