http tests: use /dumb/ URL prefix
To clarify what part of the HTTP transprot is being tested we change the URLs used by existing tests to include /dumb/ at the start, indicating they use the non-Git aware code paths. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> CC: Tay Ray Chuan <rctay89@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
859d1fb427
commit
024bb12566
@ -30,7 +30,7 @@ test_expect_success 'create http-accessible bare repository' '
|
||||
'
|
||||
|
||||
test_expect_success 'clone http repository' '
|
||||
git clone $HTTPD_URL/repo.git clone &&
|
||||
git clone $HTTPD_URL/dumb/repo.git clone &&
|
||||
test_cmp file clone/file
|
||||
'
|
||||
|
||||
@ -58,7 +58,7 @@ test_expect_success 'fetch packed objects' '
|
||||
cd "$HTTPD_DOCUMENT_ROOT_PATH"/repo_pack.git &&
|
||||
git --bare repack &&
|
||||
git --bare prune-packed &&
|
||||
git clone $HTTPD_URL/repo_pack.git
|
||||
git clone $HTTPD_URL/dumb/repo_pack.git
|
||||
'
|
||||
|
||||
stop_httpd
|
||||
|
Reference in New Issue
Block a user