(List (= scope= flags=0 words=[] bindings=[('test_description', {[SQ ]})]) (Com {[LIT_CHARS .]} {[LIT_CHARS ./test-lib.sh]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]} ) (Com {[LIT_CHARS mkdir]} {[LIT_CHARS .git/hooks]} ) (Com {[LIT_CHARS cat]} < (FilenameRedirectNode filename={[LIT_CHARS .git/hooks/post-rewrite]} "> 1), (HereDocRedirectNode here_end='EOF' do_expansion=True body_word={[DQ [LIT_CHARS "#!/bin/sh\n"][LIT_CHARS "echo "][\ LIT_ESCAPED_CHAR "\\$"][LIT_CHARS "@ > "][RIGHT_D_QUOTE "\""][VarSub TRASH_DIRECTORY][RIGHT_D_QUOTE "\""][LIT_CHARS "/post-rewrite.args\n"][LIT_CHARS "cat > "][RIGHT_D_QUOTE "\""][VarSub TRASH_DIRECTORY][RIGHT_D_QUOTE "\""][LIT_CHARS "/post-rewrite.data\n"]]} 0), > ) (Com {[LIT_CHARS chmod]} {[LIT_CHARS u] [LIT_OTHER "+"] [LIT_CHARS x]} {[LIT_CHARS .git/hooks/post-rewrite]} ) (FunctionDef clear_hook_input [] (Com {[LIT_CHARS rm]} {[LIT_CHARS -f]} {[LIT_CHARS post-rewrite.args]} {[LIT_CHARS post-rewrite.data]} ) ) (FunctionDef verify_hook_input [] (AndOr OP_AND_IF (Com {[LIT_CHARS test_cmp]} {[DQ [VarSub TRASH_DIRECTORY]] [LIT_CHARS /post-rewrite.args]} {[LIT_CHARS expected.args]} ) (Com {[LIT_CHARS test_cmp]} {[DQ [VarSub TRASH_DIRECTORY]] [LIT_CHARS /post-rewrite.data]} {[LIT_CHARS expected.data]} ) ) ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ newmsg &&\n"> expected.args &&\n"> expected.data &&\n"> ]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ newmsg &&\n"> ]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ foo &&\n"> expected.args &&\n"> expected.data < ]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ foo &&\n"> expected.args &&\n"> expected.data < ]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ expected.args &&\n"> expected.data < ]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ foo &&\n"> expected.args &&\n"> expected.data < ]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ foo &&\n"> expected.args &&\n"> expected.data < ]} ) (Com {[LIT_CHARS .]} {[DQ [VarSub TEST_DIRECTORY]] [LIT_CHARS /lib-rebase.sh]} ) (Com {[LIT_CHARS set_fake_editor]} ) (FunctionDef test_fail_interactive_rebase [] (Subshell (AndOr OP_AND_IF (= scope= flags=0 words=[] bindings=[('FAKE_LINES', {[DQ [VarSub 1]]})]) (AndOr OP_AND_IF (Com {[LIT_CHARS shift]} ) (AndOr OP_AND_IF (= scope= flags=1 words=[{[LIT_CHARS FAKE_LINES]}] bindings=[]) (Com {[LIT_CHARS test_must_fail]} {[LIT_CHARS git]} {[LIT_CHARS rebase]} {[LIT_CHARS -i]} {[DQ [VarSub @]]} ) ) ) ) ) ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ foo &&\n"> expected.args &&\n"> expected.data < ]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ foo &&\n"> expected.args &&\n"> expected.data < ]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ foo &&\n"> expected.args &&\n"> expected.data < ]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ expected.args &&\n"> expected.data < ]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ foo &&\n"> expected.args &&\n"> expected.data < ]} ) (Com {[LIT_CHARS test_done]} ) )