0000
EOF
- git serve --advertise-capabilities >out &&
+ GIT_TEST_SIDEBAND_ALL=0 git serve --advertise-capabilities >out &&
test-tool pkt-line unpack <out >actual &&
- test_cmp actual expect
+ test_cmp expect actual
'
test_expect_success 'stateless-rpc flag does not list capabilities' '
git serve --stateless-rpc <in >out &&
test-tool pkt-line unpack <out >actual &&
- test_cmp actual expect
+ test_cmp expect actual
'
test_expect_success 'basic ref-prefixes' '
git serve --stateless-rpc <in >out &&
test-tool pkt-line unpack <out >actual &&
- test_cmp actual expect
+ test_cmp expect actual
'
test_expect_success 'refs/heads prefix' '
git serve --stateless-rpc <in >out &&
test-tool pkt-line unpack <out >actual &&
- test_cmp actual expect
+ test_cmp expect actual
'
test_expect_success 'peel parameter' '
git serve --stateless-rpc <in >out &&
test-tool pkt-line unpack <out >actual &&
- test_cmp actual expect
+ test_cmp expect actual
'
test_expect_success 'symrefs parameter' '
git serve --stateless-rpc <in >out &&
test-tool pkt-line unpack <out >actual &&
- test_cmp actual expect
+ test_cmp expect actual
'
test_expect_success 'sending server-options' '
git serve --stateless-rpc <in >out &&
test-tool pkt-line unpack <out >actual &&
- test_cmp actual expect
+ test_cmp expect actual
'
test_expect_success 'unexpected lines are not allowed in fetch request' '