(List (= scope= flags=0 words=[] bindings=[('test_description', {[SQ ]})]) (Com {[LIT_CHARS .]} {[LIT_CHARS ./test-lib.sh]}) (Com {[LIT_CHARS .]} {[DQ [VarSub TEST_DIRECTORY]] [LIT_CHARS /lib-httpd.sh]}) (Com {[LIT_CHARS start_httpd]}) (FunctionDef GET [] (AndOr OP_AND_IF (Com {[LIT_CHARS curl]} {[LIT_CHARS --include]} {[DQ [VarSub HTTPD_URL][LIT_CHARS /][VarSub SMART][LIT_CHARS /repo.git/][VarSub 1]]} < (FilenameRedirectNode filename={[LIT_CHARS out]} "> 1), (FilenameRedirectNode filename={[LIT_CHARS /dev/null]} "> 2), > ) (AndOr OP_AND_IF (Pipeline (Com {[LIT_CHARS tr]} {[SQ ]} {[LIT_CHARS Q]} < (FilenameRedirectNode filename={[LIT_CHARS out]} 0), > ) (Com {[LIT_CHARS sed]} {[SQ ]} < (FilenameRedirectNode filename={[LIT_CHARS act]} "> 1), > ) ) (AndOr OP_AND_IF (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "HTTP/1.1 "][VarSub 2]]} < (FilenameRedirectNode filename={[LIT_CHARS exp]} "> 1), > ) (Com {[LIT_CHARS test_cmp]} {[LIT_CHARS exp]} {[LIT_CHARS act]}) ) ) ) ) (FunctionDef POST [] (AndOr OP_AND_IF (Com {[LIT_CHARS curl]} {[LIT_CHARS --include]} {[LIT_CHARS --data]} {[DQ [VarSub 2]]} {[LIT_CHARS --header]} {[DQ [LIT_CHARS "Content-Type: application/x-"][VarSub 1][LIT_CHARS -request]]} {[DQ [VarSub HTTPD_URL][LIT_CHARS /smart/repo.git/][VarSub 1]]} < (FilenameRedirectNode filename={[LIT_CHARS out]} "> 1), (FilenameRedirectNode filename={[LIT_CHARS /dev/null]} "> 2), > ) (AndOr OP_AND_IF (Pipeline (Com {[LIT_CHARS tr]} {[SQ ]} {[LIT_CHARS Q]} < (FilenameRedirectNode filename={[LIT_CHARS out]} 0), > ) (Com {[LIT_CHARS sed]} {[SQ ]} < (FilenameRedirectNode filename={[LIT_CHARS act]} "> 1), > ) ) (AndOr OP_AND_IF (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "HTTP/1.1 "][VarSub 3]]} < (FilenameRedirectNode filename={[LIT_CHARS exp]} "> 1), > ) (Com {[LIT_CHARS test_cmp]} {[LIT_CHARS exp]} {[LIT_CHARS act]}) ) ) ) ) (Com {[LIT_CHARS .]} {[DQ [VarSub TEST_DIRECTORY]] [LIT_CHARS /t556x_common]}) (Com {[LIT_CHARS grep]} {[SQ ]} < (FilenameRedirectNode filename={[LIT_CHARS exp]} "> 1), (HereDocRedirectNode here_end='EOF' do_expansion=True body_word={[DQ [LIT_CHARS "\n"][LIT_CHARS "### refs/heads/master\n"][LIT_CHARS "###\n"][LIT_CHARS "GET /smart/repo.git/refs/heads/master HTTP/1.1 404 -\n"][LIT_CHARS "\n"][LIT_CHARS "### getanyfile default\n"][LIT_CHARS "###\n"][LIT_CHARS "GET /smart/repo.git/HEAD HTTP/1.1 200\n"][LIT_CHARS "GET /smart/repo.git/info/refs HTTP/1.1 200\n"][LIT_CHARS "GET /smart/repo.git/objects/info/packs HTTP/1.1 200\n"][LIT_CHARS "GET /smart/repo.git/objects/info/alternates HTTP/1.1 200 -\n"][LIT_CHARS "GET /smart/repo.git/objects/info/http-alternates HTTP/1.1 200 -\n"][LIT_CHARS "GET /smart/repo.git/"][VarSub LOOSE_URL][LIT_CHARS " HTTP/1.1 200\n"][LIT_CHARS "GET /smart/repo.git/"][VarSub PACK_URL][LIT_CHARS " HTTP/1.1 200\n"][LIT_CHARS "GET /smart/repo.git/"][VarSub IDX_URL][LIT_CHARS " HTTP/1.1 200\n"][LIT_CHARS "\n"][LIT_CHARS "### no git-daemon-export-ok\n"][LIT_CHARS "###\n"][LIT_CHARS "GET /smart_noexport/repo.git/HEAD HTTP/1.1 404 -\n"][LIT_CHARS "GET /smart_noexport/repo.git/info/refs HTTP/1.1 404 -\n"][LIT_CHARS "GET /smart_noexport/repo.git/objects/info/packs HTTP/1.1 404 -\n"][LIT_CHARS "GET /smart_noexport/repo.git/objects/info/alternates HTTP/1.1 404 -\n"][LIT_CHARS "GET /smart_noexport/repo.git/objects/info/http-alternates HTTP/1.1 404 -\n"][LIT_CHARS "GET /smart_noexport/repo.git/"][VarSub LOOSE_URL][LIT_CHARS " HTTP/1.1 404 -\n"][LIT_CHARS "GET /smart_noexport/repo.git/"][VarSub PACK_URL][LIT_CHARS " HTTP/1.1 404 -\n"][LIT_CHARS "GET /smart_noexport/repo.git/"][VarSub IDX_URL][LIT_CHARS " HTTP/1.1 404 -\n"][LIT_CHARS "\n"][LIT_CHARS "### git-daemon-export-ok\n"][LIT_CHARS "###\n"][LIT_CHARS "GET /smart_noexport/repo.git/HEAD HTTP/1.1 200\n"][LIT_CHARS "GET /smart_noexport/repo.git/info/refs HTTP/1.1 200\n"][LIT_CHARS "GET /smart_noexport/repo.git/objects/info/packs HTTP/1.1 200\n"][LIT_CHARS "GET /smart_noexport/repo.git/objects/info/alternates HTTP/1.1 200 -\n"][LIT_CHARS "GET /smart_noexport/repo.git/objects/info/http-alternates HTTP/1.1 200 -\n"][LIT_CHARS "GET /smart_noexport/repo.git/"][VarSub LOOSE_URL][LIT_CHARS " HTTP/1.1 200\n"][LIT_CHARS "GET /smart_noexport/repo.git/"][VarSub PACK_URL][LIT_CHARS " HTTP/1.1 200\n"][LIT_CHARS "GET /smart_noexport/repo.git/"][VarSub IDX_URL][LIT_CHARS " HTTP/1.1 200\n"][LIT_CHARS "\n"][LIT_CHARS "### getanyfile true\n"][LIT_CHARS "###\n"][LIT_CHARS "GET /smart/repo.git/HEAD HTTP/1.1 200\n"][LIT_CHARS "GET /smart/repo.git/info/refs HTTP/1.1 200\n"][LIT_CHARS "GET /smart/repo.git/objects/info/packs HTTP/1.1 200\n"][LIT_CHARS "GET /smart/repo.git/objects/info/alternates HTTP/1.1 200 -\n"][LIT_CHARS "GET /smart/repo.git/objects/info/http-alternates HTTP/1.1 200 -\n"][LIT_CHARS "GET /smart/repo.git/"][VarSub LOOSE_URL][LIT_CHARS " HTTP/1.1 200\n"][LIT_CHARS "GET /smart/repo.git/"][VarSub PACK_URL][LIT_CHARS " HTTP/1.1 200\n"][LIT_CHARS "GET /smart/repo.git/"][VarSub IDX_URL][LIT_CHARS " HTTP/1.1 200\n"][LIT_CHARS "\n"][LIT_CHARS "### getanyfile false\n"][LIT_CHARS "###\n"][LIT_CHARS "GET /smart/repo.git/HEAD HTTP/1.1 403 -\n"][LIT_CHARS "GET /smart/repo.git/info/refs HTTP/1.1 403 -\n"][LIT_CHARS "GET /smart/repo.git/objects/info/packs HTTP/1.1 403 -\n"][LIT_CHARS "GET /smart/repo.git/objects/info/alternates HTTP/1.1 403 -\n"][LIT_CHARS "GET /smart/repo.git/objects/info/http-alternates HTTP/1.1 403 -\n"][LIT_CHARS "GET /smart/repo.git/"][VarSub LOOSE_URL][LIT_CHARS " HTTP/1.1 403 -\n"][LIT_CHARS "GET /smart/repo.git/"][VarSub PACK_URL][LIT_CHARS " HTTP/1.1 403 -\n"][LIT_CHARS "GET /smart/repo.git/"][VarSub IDX_URL][LIT_CHARS " HTTP/1.1 403 -\n"][LIT_CHARS "\n"][LIT_CHARS "### uploadpack default\n"][LIT_CHARS "###\n"][LIT_CHARS "GET /smart/repo.git/info/refs?service=git-upload-pack HTTP/1.1 200\n"][LIT_CHARS "POST /smart/repo.git/git-upload-pack HTTP/1.1 200 -\n"][LIT_CHARS "\n"][LIT_CHARS "### uploadpack true\n"][LIT_CHARS "###\n"][LIT_CHARS "GET /smart/repo.git/info/refs?service=git-upload-pack HTTP/1.1 200\n"][LIT_CHARS "POST /smart/repo.git/git-upload-pack HTTP/1.1 200 -\n"][LIT_CHARS "\n"][LIT_CHARS "### uploadpack false\n"][LIT_CHARS "###\n"][LIT_CHARS "GET /smart/repo.git/info/refs?service=git-upload-pack HTTP/1.1 403 -\n"][LIT_CHARS "POST /smart/repo.git/git-upload-pack HTTP/1.1 403 -\n"][LIT_CHARS "\n"][LIT_CHARS "### receivepack default\n"][LIT_CHARS "###\n"][LIT_CHARS "GET /smart/repo.git/info/refs?service=git-receive-pack HTTP/1.1 403 -\n"][LIT_CHARS "POST /smart/repo.git/git-receive-pack HTTP/1.1 403 -\n"][LIT_CHARS "\n"][LIT_CHARS "### receivepack true\n"][LIT_CHARS "###\n"][LIT_CHARS "GET /smart/repo.git/info/refs?service=git-receive-pack HTTP/1.1 200\n"][LIT_CHARS "POST /smart/repo.git/git-receive-pack HTTP/1.1 200 -\n"][LIT_CHARS "\n"][LIT_CHARS "### receivepack false\n"][LIT_CHARS "###\n"][LIT_CHARS "GET /smart/repo.git/info/refs?service=git-receive-pack HTTP/1.1 403 -\n"][LIT_CHARS "POST /smart/repo.git/git-receive-pack HTTP/1.1 403 -\n"]]} 0), > ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ act <\"$HTTPD_ROOT_PATH\"/access.log &&\n"> ]}) (Com {[LIT_CHARS stop_httpd]}) (Com {[LIT_CHARS test_done]}) )