git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Test 5561 failed
@ 2018-04-03 11:43 Jens Krüger
  2018-04-03 13:14 ` Jeff King
  0 siblings, 1 reply; 6+ messages in thread
From: Jens Krüger @ 2018-04-03 11:43 UTC (permalink / raw)
  To: Git List

[-- 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 --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-04-03 14:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-03 11:43 Test 5561 failed Jens Krüger
2018-04-03 13:14 ` 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

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 NNTP newsgroup(s).