# [PATCH 06/23] t5550-http-fetch: test fetching of packed objects

1 messages from 2009-06-05 to 2009-06-05. Participants: Tay Ray Chuan.
Thread: https://gitlist.dev/t/19680

## Tay Ray Chuan, 2009-06-05 16:04

Subject: [PATCH 06/23] t5550-http-fetch: test fetching of packed objects
Message-ID: <20090606000440.7eafb4f5.rctay89@gmail.com>
URL: https://gitlist.dev/e/20090606000440.7eafb4f5.rctay89%40gmail.com

```

Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
---
 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 05b1b62..0e69324 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
--
1.6.3.1

```
