(List (= scope= flags=0 words=[] bindings=[('test_description', {[SQ ]})]) (Com {[LIT_CHARS .]} {[LIT_CHARS ./test-lib.sh]} ) (Com {[LIT_CHARS cat]} < (FilenameRedirectNode filename={[LIT_CHARS file]} "> 1), (HereDocRedirectNode here_end='EOF' do_expansion=True body_word={[DQ [LIT_CHARS "LO, praise of the prowess of people-kings\n"][LIT_CHARS "of spear-armed Danes, in days long sped,\n"][LIT_CHARS "we have heard, and what honor the athelings won!\n"][LIT_CHARS "Oft Scyld the Scefing from squadroned foes,\n"][LIT_CHARS "from many a tribe, the mead-bench tore,\n"][LIT_CHARS "awing the earls. Since erst he lay\n"][LIT_CHARS "friendless, a foundling, fate repaid him:\n"][LIT_CHARS "for he waxed under welkin, in wealth he throve,\n"][LIT_CHARS "till before him the folk, both far and near,\n"][LIT_CHARS "who house by the whale-path, heard his mandate,\n"][LIT_CHARS "gave him gifts: a good king he!\n"]]} 0), > ) (Com {[LIT_CHARS cat]} < (FilenameRedirectNode filename={[LIT_CHARS second-part]} "> 1), (HereDocRedirectNode here_end='EOF' do_expansion=True body_word={[DQ [LIT_CHARS "To him an heir was afterward born,\n"][LIT_CHARS "a son in his halls, whom heaven sent\n"][LIT_CHARS "to favor the folk, feeling their woe\n"][LIT_CHARS "that erst they had lacked an earl for leader\n"][LIT_CHARS "so long a while; the Lord endowed him,\n"][LIT_CHARS "the Wielder of Wonder, with world's renown.\n"]]} 0), > ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]} ) (Com {[LIT_CHARS cat]} < (FilenameRedirectNode filename={[LIT_CHARS expected-patch]} "> 1), (HereDocRedirectNode here_end='EOF' do_expansion=True body_word={[DQ [LIT_CHARS "diff --git a/file b/file\n"][LIT_CHARS "index b9834b5..9020acb 100644\n"][LIT_CHARS "--- a/file\n"][LIT_CHARS "+++ b/file\n"][LIT_CHARS "@@ -1,11 +1,6 @@\n"][LIT_CHARS "-LO, praise of the prowess of people-kings\n"][LIT_CHARS "-of spear-armed Danes, in days long sped,\n"][LIT_CHARS "-we have heard, and what honor the athelings won!\n"][LIT_CHARS "-Oft Scyld the Scefing from squadroned foes,\n"][LIT_CHARS "-from many a tribe, the mead-bench tore,\n"][LIT_CHARS "-awing the earls. Since erst he lay\n"][LIT_CHARS "-friendless, a foundling, fate repaid him:\n"][LIT_CHARS "-for he waxed under welkin, in wealth he throve,\n"][LIT_CHARS "-till before him the folk, both far and near,\n"][LIT_CHARS "-who house by the whale-path, heard his mandate,\n"][LIT_CHARS "-gave him gifts: a good king he!\n"][LIT_CHARS "+To him an heir was afterward born,\n"][LIT_CHARS "+a son in his halls, whom heaven sent\n"][LIT_CHARS "+to favor the folk, feeling their woe\n"][LIT_CHARS "+that erst they had lacked an earl for leader\n"][LIT_CHARS "+so long a while; the Lord endowed him,\n"][LIT_CHARS "+the Wielder of Wonder, with world's renown.\n"]]} 0), > ) (Com {[LIT_CHARS cat]} < (FilenameRedirectNode filename={[LIT_CHARS patch]} "> 1), (HereDocRedirectNode here_end='EOF' do_expansion=True body_word={[DQ [LIT_CHARS "diff --git a/file b/file\n"][LIT_CHARS "index b9834b5..ef6e94c 100644\n"][LIT_CHARS "--- a/file\n"][LIT_CHARS "+++ b/file\n"][LIT_CHARS "@@ -3,1 +3,333 @@ of spear-armed Danes, in days long sped,\n"][LIT_CHARS " we have heard, and what honor the athelings won!\n"][LIT_CHARS "+\n"][LIT_CHARS " Oft Scyld the Scefing from squadroned foes,\n"][LIT_CHARS "@@ -2,7 +1,5 @@ awing the earls. Since erst he lay\n"][LIT_CHARS " friendless, a foundling, fate repaid him:\n"][LIT_CHARS "+\n"][LIT_CHARS " for he waxed under welkin, in wealth he throve,\n"]]} 0), > ) (Com {[LIT_CHARS cat]} < (FilenameRedirectNode filename={[LIT_CHARS expected]} "> 1), (HereDocRedirectNode here_end='EOF' do_expansion=True body_word={[DQ [LIT_CHARS "diff --git a/file b/file\n"][LIT_CHARS "index b9834b5..ef6e94c 100644\n"][LIT_CHARS "--- a/file\n"][LIT_CHARS "+++ b/file\n"][LIT_CHARS "@@ -1,10 +1,12 @@\n"][LIT_CHARS " LO, praise of the prowess of people-kings\n"][LIT_CHARS " of spear-armed Danes, in days long sped,\n"][LIT_CHARS " we have heard, and what honor the athelings won!\n"][LIT_CHARS "+\n"][LIT_CHARS " Oft Scyld the Scefing from squadroned foes,\n"][LIT_CHARS " from many a tribe, the mead-bench tore,\n"][LIT_CHARS " awing the earls. Since erst he lay\n"][LIT_CHARS " friendless, a foundling, fate repaid him:\n"][LIT_CHARS "+\n"][LIT_CHARS " for he waxed under welkin, in wealth he throve,\n"][LIT_CHARS " till before him the folk, both far and near,\n"][LIT_CHARS " who house by the whale-path, heard his mandate,\n"]]} 0), > ) (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "#!"][VarSub SHELL_PATH]]} < (FilenameRedirectNode filename={[LIT_CHARS fake-editor.sh]} "> 1), > ) (Com {[LIT_CHARS cat]} < (FilenameRedirectNode filename={[LIT_CHARS fake-editor.sh]} >"> 1), (HereDocRedirectNode here_end='EOF' do_expansion=False body_word={[LIT_CHARS "mv -f \"$1\" orig-patch &&\n"] [LIT_CHARS "mv -f patch \"$1\"\n"]} 0), > ) (Com {[LIT_CHARS test_set_editor]} {[DQ [ComSub (Com {[LIT_CHARS pwd]})][LIT_CHARS /fake-editor.sh]]} ) (Com {[LIT_CHARS chmod]} {[LIT_CHARS a] [LIT_OTHER "+"] [LIT_CHARS x]} {[LIT_CHARS fake-editor.sh]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ out &&\n"> ]} ) (Com {[LIT_CHARS test_done]} ) )