(CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:test_description spids:[16]) op: Equal rhs: {(SQ <'git apply test patches with multiple fragments.'>)} spids: [16] ) ] spids: [16] ) (C {(.)} {(./test-lib.sh)}) (C {(cp)} {(DQ ($ VSub_Name '$TEST_DIRECTORY') (/t4109/patch1.patch))} {(.)}) (C {(cp)} {(DQ ($ VSub_Name '$TEST_DIRECTORY') (/t4109/patch2.patch))} {(.)}) (C {(cp)} {(DQ ($ VSub_Name '$TEST_DIRECTORY') (/t4109/patch3.patch))} {(.)}) (C {(cp)} {(DQ ($ VSub_Name '$TEST_DIRECTORY') (/t4109/patch4.patch))} {(.)}) (C {(test_expect_success)} {(SQ <'git apply (1)'>)} { (SQ <'\n'> <'\tgit apply patch1.patch patch2.patch &&\n'> <'\ttest_cmp "$TEST_DIRECTORY/t4109/expect-1" main.c\n'> ) } ) (C {(rm)} {(-f)} {(main.c)}) (C {(test_expect_success)} {(SQ <'git apply (2)'>)} { (SQ <'\n'> <'\tgit apply patch1.patch patch2.patch patch3.patch &&\n'> <'\ttest_cmp "$TEST_DIRECTORY/t4109/expect-2" main.c\n'> ) } ) (C {(rm)} {(-f)} {(main.c)}) (C {(test_expect_success)} {(SQ <'git apply (3)'>)} { (SQ <'\n'> <'\tgit apply patch1.patch patch4.patch &&\n'> <'\ttest_cmp "$TEST_DIRECTORY/t4109/expect-3" main.c\n'> ) } ) (C {(mv)} {(main.c)} {(main.c.git)}) (C {(test_done)}) ] )