Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/t0611-reftable-httpd.sh # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / t0611-reftable-httpd.sh` 26 lines ยท 514 bytes Raw Blame History 1 #!/bin/sh 2 3 test_description='reftable HTTPD tests' 4 5 . ./test-lib.sh 6 . "$TEST_DIRECTORY"/lib-httpd.sh 7 8 start_httpd 9 10 REPO="$HTTPD_DOCUMENT_ROOT_PATH/repo" 11 12 test_expect_success 'serving ls-remote' ' 13 git init --ref-storage-format=reftable -b main "$REPO" && 14 cd "$REPO" && 15 test_commit m1 && 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 && 18 cat >expect <<-EOF && 19 HEAD 20 refs/heads/main 21 refs/tags/m1 22 EOF 23 test_cmp actual expect 24 ' 25 26 test_done