(command.CommandList
  children: [
    (command.ShAssignment
      left: <Id.Lit_VarLike 'test_description='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'test_description='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'test_description='> name:test_description)
          op: assign_op.Equal
          rhs: {(SQ <'git apply with weird postimage filenames'>)}
        )
      ]
      redirects: []
    )
    (command.Simple
      blame_tok: <.>
      more_env: []
      words: [{<.>} {<'./test-lib.sh'>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <setup>)}
        {
          (SQ <'\n'> <'\tvector=$TEST_DIRECTORY/t4135 &&\n'> <'\n'> <'\ttest_tick &&\n'> 
            <'\tgit commit --allow-empty -m preimage &&\n'> <'\tgit tag preimage &&\n'> <'\n'> <'\treset_preimage() {\n'> <'\t\tgit checkout -f preimage^0 &&\n'> 
            <'\t\tgit read-tree -u --reset HEAD &&\n'> <'\t\tgit update-index --refresh\n'> <'\t} &&\n'> <'\n'> 
            <'\ttest_when_finished "rm -f \\"tab\tembedded.txt\\"" &&\n'> <'\ttest_when_finished "rm -f '>
          ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\''> ch:'\'') (SQ <'\\"quoteembedded\\".txt'>) 
          (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\''> ch:'\'') (SQ <'" &&\n'> <'\tif test_have_prereq !MINGW &&\n'> <'\t\ttouch -- "tab\tembedded.txt" '>) 
          (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\''> ch:'\'') (SQ <'"quoteembedded".txt'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\''> ch:'\'') 
          (SQ <'\n'> <'\tthen\n'> <'\t\ttest_set_prereq FUNNYNAMES\n'> <'\tfi\n'>)
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.ShFunction
      name_tok: <try_filename>
      name: try_filename
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [
            (command.ShAssignment
              left: <Id.Lit_VarLike 'desc='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'desc='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'desc='> name:desc)
                  op: assign_op.Equal
                  rhs: {($ Id.VSub_Number 1)}
                )
              ]
              redirects: []
            )
            (command.ShAssignment
              left: <Id.Lit_VarLike 'postimage='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'postimage='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'postimage='> name:postimage)
                  op: assign_op.Equal
                  rhs: {($ Id.VSub_Number 2)}
                )
              ]
              redirects: []
            )
            (command.ShAssignment
              left: <Id.Lit_VarLike 'prereq='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'prereq='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'prereq='> name:prereq)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (BracedVarSub
                        left: <Id.Left_DollarBrace '${'>
                        token: <Id.VSub_Number 3>
                        var_name: 3
                        suffix_op: (suffix_op.Unary op:<Id.VTest_ColonHyphen _> arg_word:{})
                        right: <Id.Right_DollarBrace '}'>
                      )
                    }
                )
              ]
              redirects: []
            )
            (command.ShAssignment
              left: <Id.Lit_VarLike 'exp1='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'exp1='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'exp1='> name:exp1)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (BracedVarSub
                        left: <Id.Left_DollarBrace '${'>
                        token: <Id.VSub_Number 4>
                        var_name: 4
                        suffix_op: (suffix_op.Unary op:<Id.VTest_ColonHyphen _> arg_word:{<success>})
                        right: <Id.Right_DollarBrace '}'>
                      )
                    }
                )
              ]
              redirects: []
            )
            (command.ShAssignment
              left: <Id.Lit_VarLike 'exp2='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'exp2='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'exp2='> name:exp2)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (BracedVarSub
                        left: <Id.Left_DollarBrace '${'>
                        token: <Id.VSub_Number 5>
                        var_name: 5
                        suffix_op: (suffix_op.Unary op:<Id.VTest_ColonHyphen _> arg_word:{<success>})
                        right: <Id.Right_DollarBrace '}'>
                      )
                    }
                )
              ]
              redirects: []
            )
            (command.ShAssignment
              left: <Id.Lit_VarLike 'exp3='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'exp3='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'exp3='> name:exp3)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (BracedVarSub
                        left: <Id.Left_DollarBrace '${'>
                        token: <Id.VSub_Number 6>
                        var_name: 6
                        suffix_op: (suffix_op.Unary op:<Id.VTest_ColonHyphen _> arg_word:{<success>})
                        right: <Id.Right_DollarBrace '}'>
                      )
                    }
                )
              ]
              redirects: []
            )
            (command.Simple
              blame_tok: <test_expect_>
              more_env: []
              words: [
                {<test_expect_> ($ Id.VSub_DollarName exp1)}
                {($ Id.VSub_DollarName prereq)}
                {(DQ ($ Id.VSub_DollarName desc) <', git-style file creation patch'>)}
                {
                  (DQ <'\n'> <'\t\techo postimage >expected &&\n'> <'\t\treset_preimage &&\n'> 
                    <'\t\trm -f \''> ($ Id.VSub_DollarName postimage) <'\' &&\n'> <'\t\tgit apply -v '> 
                    (word_part.EscapedLiteral
                      token: <Id.Lit_EscapedChar '\\"'>
                      ch: '"'
                    ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'> ch:'$') <vector> 
                    (word_part.EscapedLiteral
                      token: <Id.Lit_EscapedChar '\\"'>
                      ch: '"'
                    ) <'/\'git-'> ($ Id.VSub_DollarName desc) <'.diff\' &&\n'> <'\t\ttest_cmp expected \''> 
                    ($ Id.VSub_DollarName postimage) <'\'\n'> <'\t'>
                  )
                }
              ]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <test_expect_>
              more_env: []
              words: [
                {<test_expect_> ($ Id.VSub_DollarName exp2)}
                {($ Id.VSub_DollarName prereq)}
                {(DQ ($ Id.VSub_DollarName desc) <', traditional patch'>)}
                {
                  (DQ <'\n'> <'\t\techo postimage >expected &&\n'> <'\t\treset_preimage &&\n'> 
                    <'\t\techo preimage >\''> ($ Id.VSub_DollarName postimage) <'\' &&\n'> <'\t\tgit apply -v '> 
                    (word_part.EscapedLiteral
                      token: <Id.Lit_EscapedChar '\\"'>
                      ch: '"'
                    ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'> ch:'$') <vector> 
                    (word_part.EscapedLiteral
                      token: <Id.Lit_EscapedChar '\\"'>
                      ch: '"'
                    ) <'/\'diff-'> ($ Id.VSub_DollarName desc) <'.diff\' &&\n'> <'\t\ttest_cmp expected \''> 
                    ($ Id.VSub_DollarName postimage) <'\'\n'> <'\t'>
                  )
                }
              ]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <test_expect_>
              more_env: []
              words: [
                {<test_expect_> ($ Id.VSub_DollarName exp3)}
                {($ Id.VSub_DollarName prereq)}
                {(DQ ($ Id.VSub_DollarName desc) <', traditional file creation patch'>)}
                {
                  (DQ <'\n'> <'\t\techo postimage >expected &&\n'> <'\t\treset_preimage &&\n'> 
                    <'\t\trm -f \''> ($ Id.VSub_DollarName postimage) <'\' &&\n'> <'\t\tgit apply -v '> 
                    (word_part.EscapedLiteral
                      token: <Id.Lit_EscapedChar '\\"'>
                      ch: '"'
                    ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'> ch:'$') <vector> 
                    (word_part.EscapedLiteral
                      token: <Id.Lit_EscapedChar '\\"'>
                      ch: '"'
                    ) <'/\'add-'> ($ Id.VSub_DollarName desc) <'.diff\' &&\n'> <'\t\ttest_cmp expected \''> 
                    ($ Id.VSub_DollarName postimage) <'\'\n'> <'\t'>
                  )
                }
              ]
              redirects: []
              do_fork: T
            )
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
    (command.Simple
      blame_tok: <try_filename>
      more_env: []
      words: [{<try_filename>} {(SQ <plain>)} {(SQ <postimage.txt>)}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <try_filename>
      more_env: []
      words: [{<try_filename>} {(SQ <'with spaces'>)} {(SQ <'post image.txt'>)}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <try_filename>
      more_env: []
      words: [{<try_filename>} {(SQ <'with tab'>)} {(SQ <'post\timage.txt'>)} {<FUNNYNAMES>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <try_filename>
      more_env: []
      words: [{<try_filename>} {(SQ <'with backslash'>)} {(SQ <'post\\image.txt'>)} {<BSLASHPSPEC>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <try_filename>
      more_env: []
      words: [
        {<try_filename>}
        {(SQ <'with quote'>)}
        {(SQ <'"postimage".txt'>)}
        {<FUNNYNAMES>}
        {<success>}
        {<failure>}
        {<success>}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'whitespace-damaged traditional patch'>)}
        {
          (SQ <'\n'> <'\techo postimage >expected &&\n'> <'\treset_preimage &&\n'> 
            <'\trm -f postimage.txt &&\n'> <'\tgit apply -v "$vector/damaged.diff" &&\n'> <'\ttest_cmp expected postimage.txt\n'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'traditional patch with colon in timezone'>)}
        {
          (SQ <'\n'> <'\techo postimage >expected &&\n'> <'\treset_preimage &&\n'> 
            <'\trm -f "post image.txt" &&\n'> <'\tgit apply "$vector/funny-tz.diff" &&\n'> <'\ttest_cmp expected "post image.txt"\n'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'traditional, whitespace-damaged, colon in timezone'>)}
        {
          (SQ <'\n'> <'\techo postimage >expected &&\n'> <'\treset_preimage &&\n'> 
            <'\trm -f "post image.txt" &&\n'> <'\tgit apply "$vector/damaged-tz.diff" &&\n'> <'\ttest_cmp expected "post image.txt"\n'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_done>
      more_env: []
      words: [{<test_done>}]
      redirects: []
      do_fork: T
    )
  ]
)