From: "Jens Krüger" <Jens.Krueger@frm2.tum.de>
To: Git List <git@vger.kernel.org>
Subject: Test 5561 failed
Date: Tue, 3 Apr 2018 13:43:37 +0200 [thread overview]
Message-ID: <66ac8aec-3e4c-43be-83d1-7bd823ec2b20@frm2.tum.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 3044 bytes --]
Git version 2.17.0
OS: Debian 9 (9.4)
gcc: gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
build from github clone:
autoreconf
./configure
make
make test
*** t5561-http-backend.sh ***
ok 1 - setup repository
not ok 2 - direct refs/heads/master not found
#
# GET refs/heads/master "404 Not Found"
#
not ok 3 - static file is ok
#
# get_static_files "200 OK"
#
not ok 4 - no export by default
#
# get_static_files "404 Not Found"
#
not ok 5 - export if git-daemon-export-ok
#
# (cd "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" &&
# touch git-daemon-export-ok
# ) &&
# get_static_files "200 OK"
#
not ok 6 - static file if http.getanyfile true is ok
#
# config http.getanyfile true &&
# get_static_files "200 OK"
#
not ok 7 - static file if http.getanyfile false fails
#
# config http.getanyfile false &&
# get_static_files "403 Forbidden"
#
not ok 8 - http.uploadpack default enabled
#
# GET info/refs?service=git-upload-pack "200 OK" &&
# POST git-upload-pack 0000 "200 OK"
#
not ok 9 - http.uploadpack true
#
# config http.uploadpack true &&
# GET info/refs?service=git-upload-pack "200 OK" &&
# POST git-upload-pack 0000 "200 OK"
#
not ok 10 - http.uploadpack false
#
# config http.uploadpack false &&
# GET info/refs?service=git-upload-pack "403 Forbidden" &&
# POST git-upload-pack 0000 "403 Forbidden"
#
not ok 11 - http.receivepack default disabled
#
# GET info/refs?service=git-receive-pack "403 Forbidden" &&
# POST git-receive-pack 0000 "403 Forbidden"
#
not ok 12 - http.receivepack true
#
# config http.receivepack true &&
# GET info/refs?service=git-receive-pack "200 OK" &&
# POST git-receive-pack 0000 "200 OK"
#
not ok 13 - http.receivepack false
#
# config http.receivepack false &&
# GET info/refs?service=git-receive-pack "403 Forbidden" &&
# POST git-receive-pack 0000 "403 Forbidden"
#
not ok 14 - server request log matches test results
#
# sed -e "
# s/^.* \"//
# s/\"//
# s/ [1-9][0-9]*\$//
# s/^GET /GET /
# " >act <"$HTTPD_ROOT_PATH"/access.log &&
# test_cmp exp act
#
# failed 13 among 14 test(s)
1..14
[-- Attachment #2: t5561.output --]
[-- Type: text/plain, Size: 1735 bytes --]
Initialized empty Git repository in /home/jkrueger/sources/git/t/trash directory.t5561-http-backend/.git/
checking prerequisite: NOT_ROOT
mkdir -p "$TRASH_DIRECTORY/prereq-test-dir" &&
(
cd "$TRASH_DIRECTORY/prereq-test-dir" &&
uid=$(id -u) &&
test "$uid" != 0
)
prerequisite NOT_ROOT ok
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) ca879ad] one
Author: A U Thor <author@example.com>
1 file changed, 1 insertion(+)
create mode 100644 file
Initialized empty Git repository in /home/jkrueger/sources/git/t/trash directory.t5561-http-backend/httpd/www/repo.git/
To /home/jkrueger/sources/git/t/trash directory.t5561-http-backend/httpd/www/repo.git
* [new branch] master -> master
[master b23ec89] two
Author: A U Thor <author@example.com>
1 file changed, 1 insertion(+), 1 deletion(-)
To /home/jkrueger/sources/git/t/trash directory.t5561-http-backend/httpd/www/repo.git
ca879ad..b23ec89 master -> master
ok 1 - setup repository
expecting success:
GET refs/heads/master "404 Not Found"
not ok 2 - direct refs/heads/master not found
#
# GET refs/heads/master "404 Not Found"
#
[-- Attachment #3: trash directory.t5561-http-backend.tar.gz --]
[-- Type: application/gzip, Size: 18894 bytes --]
next reply other threads:[~2018-04-03 11:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-03 11:43 Jens Krüger [this message]
2018-04-03 13:14 ` Test 5561 failed Jeff King
2018-04-03 13:29 ` Jens Krüger
2018-04-03 14:00 ` [PATCH 0/2] t5561 fails without curl installed Jeff King
2018-04-03 14:01 ` [PATCH 1/2] t5561: drop curl stderr redirects Jeff King
2018-04-03 14:01 ` [PATCH 2/2] t5561: skip tests if curl is not available Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=66ac8aec-3e4c-43be-83d1-7bd823ec2b20@frm2.tum.de \
--to=jens.krueger@frm2.tum.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).