git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Test 5561 failed

From
JKJens Krüger <jens.krueger@frm2.tum.de>
Date
Apr 3, 2018, 11:43 UTC
Message-ID
<66ac8aec-3e4c-43be-83d1-7bd823ec2b20@frm2.tum.de>
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

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" #

Next: Jeff King
Message 1 of 6 in “Test 5561 failed”
  1. Jens KrügerApr 3, 2018
  2. Jeff KingApr 3, 2018
  3. Jens KrügerApr 3, 2018
  4. 0/2 t5561 fails without curl installedJeff King, Apr 3, 2018
  5. 1/2 t5561: drop curl stderr redirectsJeff King, Apr 3, 2018
  6. 2/2 t5561: skip tests if curl is not availableJeff King, Apr 3, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.