(command.CommandList
  children: [
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:test_description)
          op: Equal
          rhs: {(SQ <'Test am with auto.crlf'>)}
        )
      ]
    )
    (C {(.)} {(./test-lib.sh)})
    (command.SimpleCommand
      words: [{(cat)}]
      redirects: [
        (redir.Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(patchfile)})
        (redir.HereDoc
          op: <Redir_DLess '<<'>
          fd: 16777215
          here_begin: {(word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\E'>) (OF)}
          here_end_span_id: 41
          stdin_parts: [
            ('From 38be10072e45dd6b08ce40851e3fca60a31a340b Mon Sep 17 00:00:00 2001\n')
            ('From: Marius Storm-Olsen <x@y.com>\n')
            ('Date: Thu, 23 Aug 2007 13:00:00 +0200\n')
            ('Subject: test1\n')
            ('\n')
            ('---\n')
            (' foo | 1 +\n')
            (' 1 files changed, 1 insertions(+), 0 deletions(-)\n')
            (' create mode 100644 foo\n')
            ('\n')
            ('diff --git a/foo b/foo\n')
            ('new file mode 100644\n')
            (
'index 0000000000000000000000000000000000000000..5716ca5987cbf97d6bb54920bea6adde242d87e6\n'
            )
            ('--- /dev/null\n')
            ('+++ b/foo\n')
            ('@@ -0,0 +1 @@\n')
            ('+bar\n')
          ]
        )
      ]
    )
    (C {(test_expect_success)} {(SQ <setup>)} 
      {
        (SQ <'\n'> <'\n'> <'\tgit config core.autocrlf true &&\n'> <'\techo foo >bar &&\n'> 
          <'\tgit add bar &&\n'> <'\ttest_tick &&\n'> <'\tgit commit -m initial\n'> <'\n'>
        )
      }
    )
    (C {(test_expect_success)} {(SQ <am>)} 
      {
        (SQ <'\n'> <'\n'> <'\tgit am -3 <patchfile &&\n'> 
          <'\tgit diff-files --name-status --exit-code\n'> <'\n'>
        )
      }
    )
    (C {(test_done)})
  ]
)