3 test_description
='reftable HTTPD tests'
6 .
"$TEST_DIRECTORY"/lib-httpd.sh
10 REPO
="$HTTPD_DOCUMENT_ROOT_PATH/repo"
12 test_expect_success
'serving ls-remote' '
13 git init --ref-format=reftable -b main "$REPO" &&
16 >.git/git-daemon-export-ok &&
17 git ls-remote "http://127.0.0.1:$LIB_HTTPD_PORT/smart/repo" | cut -f 2-2 -d " " >actual &&
23 test_cmp actual expect