1 --- git-2.17.0.orig/t/t5570-git-daemon.sh 2018-04-04 22:46:50.449393002 +0200
2 +++ git-2.17.0/t/t5570-git-daemon.sh 2018-04-04 23:34:11.505813150 +0200
4 git ls-remote "$GIT_DAEMON_URL/escape.git"
7 -test_expect_success 'daemon log records all attributes' '
8 - cat >expect <<-\EOF &&
9 - Extended attribute "host": localhost
10 - Extended attribute "protocol": version=1
13 - GIT_OVERRIDE_VIRTUAL_HOST=localhost \
14 - git -c protocol.version=1 \
15 - ls-remote "$GIT_DAEMON_URL/interp.git" &&
16 - grep -i extended.attribute daemon.log | cut -d" " -f2- >actual &&
17 - test_cmp expect actual
20 test_expect_success FAKENC 'hostname interpolation works after LF-stripping' '
22 printf "git-upload-pack /interp.git\n\0host=localhost" | packetize