Test 5561 failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
 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@xxxxxxxxxxx>
 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: trash directory.t5561-http-backend.tar.gz
Description: application/gzip


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux