3 test_description
='reftable HTTPD tests'
5 TEST_PASSES_SANITIZE_LEAK
=true
7 .
"$TEST_DIRECTORY"/lib-httpd.sh
11 REPO
="$HTTPD_DOCUMENT_ROOT_PATH/repo"
13 test_expect_success
'serving ls-remote' '
14 git init --ref-format=reftable -b main "$REPO" &&
17 >.git/git-daemon-export-ok &&
18 git ls-remote "http://127.0.0.1:$LIB_HTTPD_PORT/smart/repo" | cut -f 2-2 -d " " >actual &&
24 test_cmp actual expect