From 96a4f187353d176d8fa32242875ffdad2ba38a0a Mon Sep 17 00:00:00 2001 From: Tay Ray Chuan Date: Sat, 6 Jun 2009 16:43:32 +0800 Subject: [PATCH] t5550-http-fetch: test fetching of packed objects Signed-off-by: Tay Ray Chuan Signed-off-by: Junio C Hamano --- t/t5550-http-fetch.sh | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.30.2