(List (= scope= flags=0 words=[] bindings=[('test_description', {[SQ ]})]) (Com {[LIT_CHARS .]} {[LIT_CHARS ./test-lib.sh]}) (Com {[LIT_CHARS test_expect_success]} {[LIT_CHARS setup]} {[SQ empty\n">]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ .git/objects/info/alternates &&\n"> ../actual 2>&1\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ actual 2>&1 &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ out &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ .git/refs/heads/invalid &&\n"> out &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ .git/HEAD &&\n"> out &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ .git/HEAD &&\n"> out &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ basis &&\n"> okay &&\n"> out &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ is not okay">]} {[SQ basis &&\n"> /\" basis >bad-email &&\n"> out &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ basis &&\n"> bad-email-2 &&\n"> out &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ basis &&\n"> ]*>//\" basis >bad-email-3 &&\n"> out &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ in name is reported">]} {[SQ basis &&\n"> bad-email-4 &&\n"> out &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ basis &&\n"> \\\\) [0-9]*/\\\\1 18446744073709551617/\" \\\n"> bad-timestamp &&\n"> out &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ basis &&\n"> commit-NUL-header &&\n"> out &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ x &&\n"> out &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ out &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ invalid-tag <<-\\EOF &&\n"> 1234567890 -0000\n"> .git/refs/tags/invalid &&\n"> out &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ wrong-tag <<-EOF &&\n"> 1234567890 -0000\n"> .git/refs/tags/wrong &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ wrong-tag <<-EOF &&\n"> .git/refs/tags/wrong &&\n"> out &&\n"> expect <<-EOF &&\n"> ] [\ LIT_ESCAPED_CHAR "\\'"] [SQ ] [\ LIT_ESCAPED_CHAR "\\'"] [SQ ] [\ LIT_ESCAPED_CHAR "\\'"] [SQ ] [\ LIT_ESCAPED_CHAR "\\'"] [SQ ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ wrong-tag <<-EOF &&\n"> .git/refs/tags/wrong &&\n"> out &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ tag-NUL-header <<-EOF &&\n"> 1234567890 -0000\n"> .git/refs/tags/wrong &&\n"> out &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ actual 2>&1 &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ /dev/null 2>out &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ /dev/null 2>out &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ basis &&\n"> multiple-authors &&\n"> ]}) (= scope= flags=0 words=[] bindings=[('_bz', {[SQ ]})]) (= scope= flags=0 words=[] bindings=[('_bz5', {[DQ [VarSub _bz][VarSub _bz][VarSub _bz][VarSub _bz][VarSub _bz]]})]) (= scope= flags=0 words=[] bindings=[('_bz20', {[DQ [VarSub _bz5][VarSub _bz5][VarSub _bz5][VarSub _bz5]]})]) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ out &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ out &&\n"> ]}) (While (Com {[LIT_CHARS read]} {[LIT_CHARS name]} {[LIT_CHARS path]} {[LIT_CHARS pretty]}) (While (Com {[LIT_CHARS read]} {[LIT_CHARS mode]} {[LIT_CHARS type]}) (List (Com {[LIT_OTHER ":"]} {[VarSub pretty test_op=VS_TEST_COLON_EQUALS {[VarSub path]}]}) (Com {[LIT_CHARS test_expect_success]} {[DQ [LIT_CHARS "fsck notices "][VarSub pretty][LIT_CHARS " as "][VarSub type]]} {[SQ file &&\n"> bad &&\n"> out &&\n"> ]}) ) ) ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ file &&\n"> tree &&\n"> err &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ original &&\n"> munged &&\n"> name &&\n"> warn.1 &&\n"> warn.2 &&\n"> ]}) (FunctionDef create_repo_missing [] (AndOr OP_AND_IF (Com {[LIT_CHARS rm]} {[LIT_CHARS -rf]} {[LIT_CHARS missing]}) (AndOr OP_AND_IF (Com {[LIT_CHARS git]} {[LIT_CHARS init]} {[LIT_CHARS missing]}) (Subshell (AndOr OP_AND_IF (Com {[LIT_CHARS cd]} {[LIT_CHARS missing]}) (AndOr OP_AND_IF (Com {[LIT_CHARS git]} {[LIT_CHARS commit]} {[LIT_CHARS -m]} {[LIT_CHARS one]} {[LIT_CHARS --allow-empty]}) (AndOr OP_AND_IF (Com {[LIT_CHARS mkdir]} {[LIT_CHARS subdir]}) (AndOr OP_AND_IF (Com {[LIT_CHARS echo]} {[LIT_CHARS content]} < (FilenameRedirectNode filename={[LIT_CHARS subdir/file]} "> 1), > ) (AndOr OP_AND_IF (Com {[LIT_CHARS git]} {[LIT_CHARS add]} {[LIT_CHARS subdir/file]}) (AndOr OP_AND_IF (Com {[LIT_CHARS git]} {[LIT_CHARS commit]} {[LIT_CHARS -m]} {[LIT_CHARS two]}) (AndOr OP_AND_IF (= scope= flags=0 words=[] bindings=[('unrelated', {[ComSub (Pipeline (Com {[LIT_CHARS echo]} {[LIT_CHARS unrelated]}) (Com {[LIT_CHARS git]} {[LIT_CHARS hash-object]} {[LIT_CHARS --stdin]} {[LIT_CHARS -w]}) )]})]) (AndOr OP_AND_IF (Com {[LIT_CHARS git]} {[LIT_CHARS tag]} {[LIT_CHARS -m]} {[LIT_CHARS foo]} {[LIT_CHARS tag]} {[VarSub unrelated]}) (AndOr OP_AND_IF (= scope= flags=0 words=[] bindings=[('sha1', {[ComSub (Com {[LIT_CHARS git]} {[LIT_CHARS rev-parse]} {[LIT_CHARS --verify]} {[DQ [VarSub 1]]})]})]) (AndOr OP_AND_IF (= scope= flags=0 words=[] bindings=[('path', {[ComSub (Pipeline (Com {[LIT_CHARS echo]} {[VarSub sha1]}) (Com {[LIT_CHARS sed]} {[SQ ]}) )]})]) (Com {[LIT_CHARS rm]} {[LIT_CHARS .git/objects/] [VarSub path]}) ) ) ) ) ) ) ) ) ) ) ) ) ) ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ $empty &&\n"> $tree &&\n"> ]}) (FunctionDef remove_loose_object [] (AndOr OP_AND_IF (= scope= flags=0 words=[] bindings=[('sha1', {[DQ [ComSub (Com {[LIT_CHARS git]} {[LIT_CHARS rev-parse]} {[DQ [VarSub 1]]})]]})]) (AndOr OP_AND_IF (= scope= flags=0 words=[] bindings=[('remainder', {[VarSub sha1 transform_ops=[VS_UNARY_POUND {[LIT_CHARS "??"]}]]})]) (AndOr OP_AND_IF (= scope= flags=0 words=[] bindings=[('firsttwo', {[VarSub sha1 transform_ops=[VS_UNARY_PERCENT {[VarSub remainder]}]]})]) (Com {[LIT_CHARS rm]} {[LIT_CHARS .git/objects/] [VarSub firsttwo] [LIT_CHARS /] [VarSub remainder]}) ) ) ) ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ out &&\n"> ]}) (Com {[LIT_CHARS test_done]}) )