(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 patch1.patch]} "> 1), (HereDocRedirectNode here_end='EOF' do_expansion=False body_word={[LIT_CHARS "diff --git a/main.c b/main.c\n"] [LIT_CHARS "new file mode 100644\n"] [LIT_CHARS "--- /dev/null\n"] [LIT_CHARS "+++ b/main.c\n"] [LIT_CHARS "@@ -0,0 +1,22 @@\n"] [LIT_CHARS "+#include \n"] [LIT_CHARS "+\n"] [LIT_CHARS "+void print_int(int num);\n"] [LIT_CHARS "+int func(int num);\n"] [LIT_CHARS "+\n"] [LIT_CHARS "+int main() {\n"] [LIT_CHARS "+ int i;\n"] [LIT_CHARS "+\n"] [LIT_CHARS "+ for (i = 0; i < 10; i++) {\n"] [LIT_CHARS "+ print_int(func(i)); /* stuff */\n"] [LIT_CHARS "+ }\n"] [LIT_CHARS "+\n"] [LIT_CHARS "+ return 0;\n"] [LIT_CHARS "+}\n"] [LIT_CHARS "+\n"] [LIT_CHARS "+int func(int num) {\n"] [LIT_CHARS "+ return num * num;\n"] [LIT_CHARS "+}\n"] [LIT_CHARS "+\n"] [LIT_CHARS "+void print_int(int num) {\n"] [LIT_CHARS "+ printf(\"%d\", num);\n"] [LIT_CHARS "+}\n"]} 0), > ) (Com {[LIT_CHARS sed]} {[LIT_CHARS -e]} {[SQ ]} < (FilenameRedirectNode filename={[LIT_CHARS patch2.patch]} "> 1), (HereDocRedirectNode here_end='EOF' do_expansion=False body_word={[LIT_CHARS "diff --git a/main.c b/main.c\n"] [LIT_CHARS "--- a/main.c\n"] [LIT_CHARS "+++ b/main.c\n"] [LIT_CHARS "@@ -10,6 +10,8 @@\n"] [LIT_CHARS "Z\t\tprint_int(func(i)); /* stuff */\n"] [LIT_CHARS "Z\t}\n"] [LIT_CHARS "Z\n"] [LIT_CHARS "+\tprintf(\"\\n\");\n"] [LIT_CHARS "+\n"] [LIT_CHARS "Z\treturn 0;\n"] [LIT_CHARS "Z}\n"] [LIT_CHARS "Z\n"]} 0), > ) (Com {[LIT_CHARS sed]} {[LIT_CHARS -e]} {[SQ ]} < (FilenameRedirectNode filename={[LIT_CHARS patch3.patch]} "> 1), (HereDocRedirectNode here_end='EOF' do_expansion=False body_word={[LIT_CHARS "diff --git a/main.c b/main.c\n"] [LIT_CHARS "--- a/main.c\n"] [LIT_CHARS "+++ b/main.c\n"] [LIT_CHARS "@@ -10,3 +10,4 @@\n"] [LIT_CHARS "Z\tfor (i = 0; i < 10; i++) {\n"] [LIT_CHARS "Z\t\tprint_int(func(i));Z\n"] [LIT_CHARS "+\t\t/* stuff */\n"] [LIT_CHARS "Z\t}\n"]} 0), > ) (Com {[LIT_CHARS sed]} {[LIT_CHARS -e]} {[SQ ]} < (FilenameRedirectNode filename={[LIT_CHARS patch4.patch]} "> 1), (HereDocRedirectNode here_end='EOF' do_expansion=False body_word={[LIT_CHARS "diff --git a/main.c b/main.c\n"] [LIT_CHARS "--- a/main.c\n"] [LIT_CHARS "+++ b/main.c\n"] [LIT_CHARS "@@ -21,1 +21,1 @@\n"] [LIT_CHARS "-\t};Z\n"] [LIT_CHARS "\\ No newline at end of file\n"] [LIT_CHARS "+\t};\n"]} 0), > ) (Com {[LIT_CHARS sed]} {[LIT_CHARS -e]} {[SQ ]} < (FilenameRedirectNode filename={[LIT_CHARS patch5.patch]} "> 1), (HereDocRedirectNode here_end='EOF' do_expansion=False body_word={[LIT_CHARS "diff --git a/main.c b/main.c\n"] [LIT_CHARS "--- a/main.c\n"] [LIT_CHARS "+++ b/main.c\n"] [LIT_CHARS "@@ -2,2 +2,3 @@\n"] [LIT_CHARS "Z\tvoid print_int(int num);\n"] [LIT_CHARS "+\t/* a comment */\n"] [LIT_CHARS "Z\tint func(int num);\n"]} 0), > ) (Com {[LIT_CHARS sed]} {[LIT_CHARS -e]} {[SQ ]} < (FilenameRedirectNode filename={[LIT_CHARS main.c.final]} "> 1), (HereDocRedirectNode here_end='EOF' do_expansion=False body_word={[LIT_CHARS "#include \n"] [LIT_CHARS "\n"] [LIT_CHARS "void print_int(int num);\n"] [LIT_CHARS "int func(int num);\n"] [LIT_CHARS "\n"] [LIT_CHARS "int main() {\n"] [LIT_CHARS " int i;\n"] [LIT_CHARS "\n"] [LIT_CHARS " for (i = 0; i < 10; i++) {\n"] [LIT_CHARS " print_int(func(i)); /* stuff */\n"] [LIT_CHARS " }\n"] [LIT_CHARS "\n"] [LIT_CHARS "Tprintf(\"\\n\");\n"] [LIT_CHARS "\n"] [LIT_CHARS " return 0;\n"] [LIT_CHARS "}\n"] [LIT_CHARS "\n"] [LIT_CHARS "int func(int num) {\n"] [LIT_CHARS " return num * num;\n"] [LIT_CHARS "}\n"] [LIT_CHARS "\n"] [LIT_CHARS "void print_int(int num) {\n"] [LIT_CHARS " printf(\"%d\", num);\n"] [LIT_CHARS "}\n"]} 0), > ) (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 git]} {[LIT_CHARS config]} {[LIT_CHARS apply.ignorewhitespace]} {[LIT_CHARS change]}) (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_done]}) )