On Sat, Aug 21, 2010 at 07:57, Tarmigan <tarmigan+git@xxxxxxxxx> wrote: > On Thu, Aug 19, 2010 at 9:56 AM, Ævar Arnfjörð Bjarmason > <avarab@xxxxxxxxx> wrote: >> I haven't investigate this, but here's the failure output: >> >> ok 7 - static file if http.getanyfile false fails >> >> expecting success: >> log_div "uploadpack default" >> GET info/refs?service=git-upload-pack "200 OK" && >> POST git-upload-pack 0000 "200 OK" >> >> --- exp 2010-08-19 15:56:14.000000000 +0000 >> +++ act 2010-08-19 15:56:14.000000000 +0000 >> @@ -1 +1 @@ >> -Status: 200 OK >> +Status: 404 Not Found >> not ok - 8 http.uploadpack default enabled >> # >> # log_div "uploadpack default" >> # GET info/refs?service=git-upload-pack "200 OK" && >> # POST git-upload-pack 0000 "200 OK" >> # >> > > Thanks for the report. Is this a new breakage and what version is it > failing on? > > Do you ever test with GIT_TEST_HTTPD set? If not, can you please try this > export GIT_TEST_HTTPD=1 && ./t5561-http-backend.sh -d -i -v > and report back? Hopefully the test suite will automatically find > apache on FreeBSD, otherwise you may need to give it some hints (see > lib-httpd.sh). Here are the outputs of: $ GIT_TEST_HTTPD= ./t5560-http-backend-noserver.sh -d -i -v > /tmp/no-httpd.txt 2>&1 $ GIT_TEST_HTTPD=1 ./t5560-http-backend-noserver.sh -d -i -v > /tmp/with-httpd.txt 2>&1 Can't investigate this further now, sorry.
Initialized empty Git repository in /usr/home/avar/g/git/t/trash directory.t5560-http-backend-noserver/.git/ expecting success: echo content >file && git add file && git commit -m one && mkdir "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" && (cd "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" && git --bare init && : >objects/info/alternates && : >objects/info/http-alternates ) && git remote add public "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" && git push public master:master && (cd "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" && git repack -a -d ) && echo other >file && git add file && git commit -m two && git push public master:master && LOOSE_URL=$(find_file objects/??) && PACK_URL=$(find_file objects/pack/*.pack) && IDX_URL=$(find_file objects/pack/*.idx) [master (root-commit) e00d2d0] one Author: A U Thor <author@xxxxxxxxxxx> 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 file Initialized empty Git repository in /usr/home/avar/g/git/t/trash directory.t5560-http-backend-noserver/repo.git/ To /usr/home/avar/g/git/t/trash directory.t5560-http-backend-noserver/repo.git * [new branch] master -> master [master e101090] two Author: A U Thor <author@xxxxxxxxxxx> 1 files changed, 1 insertions(+), 1 deletions(-) To /usr/home/avar/g/git/t/trash directory.t5560-http-backend-noserver/repo.git e00d2d0..e101090 master -> master ok 1 - setup repository expecting success: log_div "refs/heads/master" GET refs/heads/master "404 Not Found" ok 2 - direct refs/heads/master not found expecting success: log_div "getanyfile default" get_static_files "200 OK" ok 3 - static file is ok expecting success: log_div "no git-daemon-export-ok" get_static_files "404 Not Found" ok 4 - no export by default expecting success: log_div "git-daemon-export-ok" (cd "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" && touch git-daemon-export-ok ) && get_static_files "200 OK" ok 5 - export if git-daemon-export-ok expecting success: log_div "getanyfile true" config http.getanyfile true && get_static_files "200 OK" ok 6 - static file if http.getanyfile true is ok expecting success: log_div "getanyfile false" config http.getanyfile false && get_static_files "403 Forbidden" ok 7 - static file if http.getanyfile false fails expecting success: log_div "uploadpack default" GET info/refs?service=git-upload-pack "200 OK" && POST git-upload-pack 0000 "200 OK" --- exp 2010-08-21 08:04:57.000000000 +0000 +++ act 2010-08-21 08:04:57.000000000 +0000 @@ -1 +1 @@ -Status: 200 OK +Status: 404 Not Found not ok - 8 http.uploadpack default enabled # # log_div "uploadpack default" # GET info/refs?service=git-upload-pack "200 OK" && # POST git-upload-pack 0000 "200 OK" #
Initialized empty Git repository in /usr/home/avar/g/git/t/trash directory.t5560-http-backend-noserver/.git/ expecting success: echo content >file && git add file && git commit -m one && mkdir "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" && (cd "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" && git --bare init && : >objects/info/alternates && : >objects/info/http-alternates ) && git remote add public "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" && git push public master:master && (cd "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" && git repack -a -d ) && echo other >file && git add file && git commit -m two && git push public master:master && LOOSE_URL=$(find_file objects/??) && PACK_URL=$(find_file objects/pack/*.pack) && IDX_URL=$(find_file objects/pack/*.idx) [master (root-commit) 0bfcfe4] one Author: A U Thor <author@xxxxxxxxxxx> 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 file Initialized empty Git repository in /usr/home/avar/g/git/t/trash directory.t5560-http-backend-noserver/repo.git/ To /usr/home/avar/g/git/t/trash directory.t5560-http-backend-noserver/repo.git * [new branch] master -> master [master d89e1cd] two Author: A U Thor <author@xxxxxxxxxxx> 1 files changed, 1 insertions(+), 1 deletions(-) To /usr/home/avar/g/git/t/trash directory.t5560-http-backend-noserver/repo.git 0bfcfe4..d89e1cd master -> master ok 1 - setup repository expecting success: log_div "refs/heads/master" GET refs/heads/master "404 Not Found" ok 2 - direct refs/heads/master not found expecting success: log_div "getanyfile default" get_static_files "200 OK" ok 3 - static file is ok expecting success: log_div "no git-daemon-export-ok" get_static_files "404 Not Found" ok 4 - no export by default expecting success: log_div "git-daemon-export-ok" (cd "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" && touch git-daemon-export-ok ) && get_static_files "200 OK" ok 5 - export if git-daemon-export-ok expecting success: log_div "getanyfile true" config http.getanyfile true && get_static_files "200 OK" ok 6 - static file if http.getanyfile true is ok expecting success: log_div "getanyfile false" config http.getanyfile false && get_static_files "403 Forbidden" ok 7 - static file if http.getanyfile false fails expecting success: log_div "uploadpack default" GET info/refs?service=git-upload-pack "200 OK" && POST git-upload-pack 0000 "200 OK" --- exp 2010-08-21 08:04:51.000000000 +0000 +++ act 2010-08-21 08:04:51.000000000 +0000 @@ -1 +1 @@ -Status: 200 OK +Status: 404 Not Found not ok - 8 http.uploadpack default enabled # # log_div "uploadpack default" # GET info/refs?service=git-upload-pack "200 OK" && # POST git-upload-pack 0000 "200 OK" #