diff options
author | Tay Ray Chuan <rctay89@gmail.com> | 2009-06-06 16:43:32 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-06-06 10:56:27 -0700 |
commit | 96a4f187353d176d8fa32242875ffdad2ba38a0a (patch) | |
tree | a303039a9992d550032f0a34e3df86845c8a249b | |
parent | http-push: fix missing "#ifdef USE_CURL_MULTI" around "is_running_queue" (diff) | |
download | tgif-96a4f187353d176d8fa32242875ffdad2ba38a0a.tar.xz |
t5550-http-fetch: test fetching of packed objects
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-x | t/t5550-http-fetch.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t5550-http-fetch.sh b/t/t5550-http-fetch.sh index 05b1b62cb6..0e69324652 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 |