(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 one &&\n"> two &&\n"> three &&\n"> four &&\n"> five &&\n"> two &&\n"> three &&\n"> four &&\n"> five\n">]} ) (Com {[LIT_CHARS cat]} < (FilenameRedirectNode filename={[LIT_CHARS expect]} "> 1), (HereDocRedirectNode here_end='EOF' do_expansion=False body_word={[LIT_CHARS "error: The following untracked working tree files would be overwritten by merge:\n"] [LIT_CHARS "\tfive\n"] [LIT_CHARS "\tfour\n"] [LIT_CHARS "\tthree\n"] [LIT_CHARS "\ttwo\n"] [LIT_CHARS "Please move or remove them before you can merge.\n"] [LIT_CHARS "Aborting\n"]} 0), > ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ out &&\n"> out2\n"> ]} ) (Com {[LIT_CHARS cat]} < (FilenameRedirectNode filename={[LIT_CHARS expect]} "> 1), (HereDocRedirectNode here_end='EOF' do_expansion=False body_word={[LIT_CHARS "error: Your local changes to the following files would be overwritten by merge:\n"] [LIT_CHARS "\tfour\n"] [LIT_CHARS "\tthree\n"] [LIT_CHARS "\ttwo\n"] [LIT_CHARS "Please, commit your changes or stash them before you can merge.\n"] [LIT_CHARS "error: The following untracked working tree files would be overwritten by merge:\n"] [LIT_CHARS "\tfive\n"] [LIT_CHARS "Please move or remove them before you can merge.\n"] [LIT_CHARS "Aborting\n"]} 0), > ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ out &&\n"> ]} ) (Com {[LIT_CHARS cat]} < (FilenameRedirectNode filename={[LIT_CHARS expect]} "> 1), (HereDocRedirectNode here_end='EOF' do_expansion=False body_word={[LIT_CHARS "error: Your local changes to the following files would be overwritten by checkout:\n"] [LIT_CHARS "\trep/one\n"] [LIT_CHARS "\trep/two\n"] [LIT_CHARS "Please, commit your changes or stash them before you can switch branches.\n"] [LIT_CHARS "Aborting\n"]} 0), > ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ rep/one &&\n"> rep/two &&\n"> rep/one &&\n"> rep/two &&\n"> out &&\n"> ]} ) (Com {[LIT_CHARS cat]} < (FilenameRedirectNode filename={[LIT_CHARS expect]} "> 1), (HereDocRedirectNode here_end='EOF' do_expansion=False body_word={[LIT_CHARS "error: Your local changes to the following files would be overwritten by checkout:\n"] [LIT_CHARS "\trep/one\n"] [LIT_CHARS "\trep/two\n"] [LIT_CHARS "Please, commit your changes or stash them before you can switch branches.\n"] [LIT_CHARS "Aborting\n"]} 0), > ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ out &&\n"> ]} ) (Com {[LIT_CHARS cat]} < (FilenameRedirectNode filename={[LIT_CHARS expect]} "> 1), (HereDocRedirectNode here_end='EOF' do_expansion=False body_word={[LIT_CHARS "error: Updating the following directories would lose untracked files in it:\n"] [LIT_CHARS "\trep\n"] [LIT_CHARS "\trep2\n"] [LIT_CHARS "\n"] [LIT_CHARS "Aborting\n"]} 0), > ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ rep &&\n"> rep2 &&\n"> rep/untracked-file &&\n"> rep2/untracked-file &&\n"> out &&\n"> ]} ) (Com {[LIT_CHARS test_done]} ) )