(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 <'More rename detection\n'> <'\n'>)}
        )
      ]
      redirects: []
    )
    (command.Simple
      blame_tok: <.>
      more_env: []
      words: [{<.>} {<'./test-lib.sh'>}]
      redirects: []
      do_fork: T
    )
    (command.Sentence
      child: 
        (command.Simple
          blame_tok: <.>
          more_env: []
          words: [{<.>} {(DQ ($ Id.VSub_DollarName TEST_DIRECTORY)) <'/diff-lib.sh'>}]
          redirects: []
          do_fork: T
        )
      terminator: <Id.Op_Semi _>
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'prepare reference tree'>)}
        {
          (SQ <'cat "$TEST_DIRECTORY"/diff-lib/COPYING >COPYING &&\n'> 
            <'     echo frotz >rezrov &&\n'> <'    git update-index --add COPYING rezrov &&\n'> <'    tree=$(git write-tree) &&\n'> 
            <'    echo $tree'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'prepare work tree'>)}
        {(SQ <'sed -e '>) <'s/HOWEVER/However/'> (SQ <' <COPYING >COPYING.1 &&\n'> <'    sed -e '>) 
          <'s/GPL/G.P.L/g'> 
          (SQ <' <COPYING >COPYING.2 &&\n'> <'    rm -f COPYING &&\n'> 
            <'    git update-index --add --remove COPYING COPYING.?'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <git>
      more_env: [
        (EnvPair
          left: <Id.Lit_VarLike 'GIT_DIFF_OPTS='>
          name: GIT_DIFF_OPTS
          val: {<--unified> <Id.Lit_Equals '='> <0>}
        )
      ]
      words: [{<git>} {<diff-index>} {<-C>} {<-p>} {($ Id.VSub_DollarName tree)}]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<current>})]
      do_fork: T
    )
    (command.Simple
      blame_tok: <cat>
      more_env: []
      words: [{<cat>}]
      redirects: [
        (Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<expected>})
        (Redir
          op: <Id.Redir_DLess '<<'>
          loc: (redir_loc.Fd fd:0)
          arg: 
            (redir_param.HereDoc
              here_begin: {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\E'> ch:E) <OF>}
              here_end_tok: <Id.Undefined_Tok ''>
              stdin_parts: [
                <'diff --git a/COPYING b/COPYING.1\n'>
                <'copy from COPYING\n'>
                <'copy to COPYING.1\n'>
                <'--- a/COPYING\n'>
                <'+++ b/COPYING.1\n'>
                <'@@ -6 +6 @@\n'>
                <'- HOWEVER, in order to allow a migration to GPLv3 if that seems like\n'>
                <'+ However, in order to allow a migration to GPLv3 if that seems like\n'>
                <'diff --git a/COPYING b/COPYING.2\n'>
                <'rename from COPYING\n'>
                <'rename to COPYING.2\n'>
                <'--- a/COPYING\n'>
                <'+++ b/COPYING.2\n'>
                <'@@ -2 +2 @@\n'>
                <'- Note that the only valid version of the GPL as far as this project\n'>
                <'+ Note that the only valid version of the G.P.L as far as this project\n'>
                <'@@ -6 +6 @@\n'>
                <'- HOWEVER, in order to allow a migration to GPLv3 if that seems like\n'>
                <'+ HOWEVER, in order to allow a migration to G.P.Lv3 if that seems like\n'>
                <'@@ -12 +12 @@\n'>
                <'-\tThis file is licensed under the GPL v2, or a later version\n'>
                <'+\tThis file is licensed under the G.P.L v2, or a later version\n'>
              ]
            )
        )
      ]
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'validate output from rename/copy detection (#1)'>)}
        {(SQ <'compare_diff_patch current expected'>)}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'prepare work tree again'>)}
        {
          (SQ <'mv COPYING.2 COPYING &&\n'> 
            <'     git update-index --add --remove COPYING COPYING.1 COPYING.2'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <git>
      more_env: [
        (EnvPair
          left: <Id.Lit_VarLike 'GIT_DIFF_OPTS='>
          name: GIT_DIFF_OPTS
          val: {<--unified> <Id.Lit_Equals '='> <0>}
        )
      ]
      words: [{<git>} {<diff-index>} {<-C>} {<-p>} {($ Id.VSub_DollarName tree)}]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<current>})]
      do_fork: T
    )
    (command.Simple
      blame_tok: <cat>
      more_env: []
      words: [{<cat>}]
      redirects: [
        (Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<expected>})
        (Redir
          op: <Id.Redir_DLess '<<'>
          loc: (redir_loc.Fd fd:0)
          arg: 
            (redir_param.HereDoc
              here_begin: {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\E'> ch:E) <OF>}
              here_end_tok: <Id.Undefined_Tok ''>
              stdin_parts: [
                <'diff --git a/COPYING b/COPYING\n'>
                <'--- a/COPYING\n'>
                <'+++ b/COPYING\n'>
                <'@@ -2 +2 @@\n'>
                <'- Note that the only valid version of the GPL as far as this project\n'>
                <'+ Note that the only valid version of the G.P.L as far as this project\n'>
                <'@@ -6 +6 @@\n'>
                <'- HOWEVER, in order to allow a migration to GPLv3 if that seems like\n'>
                <'+ HOWEVER, in order to allow a migration to G.P.Lv3 if that seems like\n'>
                <'@@ -12 +12 @@\n'>
                <'-\tThis file is licensed under the GPL v2, or a later version\n'>
                <'+\tThis file is licensed under the G.P.L v2, or a later version\n'>
                <'diff --git a/COPYING b/COPYING.1\n'>
                <'copy from COPYING\n'>
                <'copy to COPYING.1\n'>
                <'--- a/COPYING\n'>
                <'+++ b/COPYING.1\n'>
                <'@@ -6 +6 @@\n'>
                <'- HOWEVER, in order to allow a migration to GPLv3 if that seems like\n'>
                <'+ However, in order to allow a migration to GPLv3 if that seems like\n'>
              ]
            )
        )
      ]
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'validate output from rename/copy detection (#2)'>)}
        {(SQ <'compare_diff_patch current expected'>)}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'prepare work tree once again'>)}
        {
          (SQ <'cat "$TEST_DIRECTORY"/diff-lib/COPYING >COPYING &&\n'> 
            <'     git update-index --add --remove COPYING COPYING.1'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <git>
      more_env: [
        (EnvPair
          left: <Id.Lit_VarLike 'GIT_DIFF_OPTS='>
          name: GIT_DIFF_OPTS
          val: {<--unified> <Id.Lit_Equals '='> <0>}
        )
      ]
      words: [{<git>} {<diff-index>} {<-C>} {<--find-copies-harder>} {<-p>} {($ Id.VSub_DollarName tree)}]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<current>})]
      do_fork: T
    )
    (command.Simple
      blame_tok: <cat>
      more_env: []
      words: [{<cat>}]
      redirects: [
        (Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<expected>})
        (Redir
          op: <Id.Redir_DLess '<<'>
          loc: (redir_loc.Fd fd:0)
          arg: 
            (redir_param.HereDoc
              here_begin: {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\E'> ch:E) <OF>}
              here_end_tok: <Id.Undefined_Tok ''>
              stdin_parts: [
                <'diff --git a/COPYING b/COPYING.1\n'>
                <'copy from COPYING\n'>
                <'copy to COPYING.1\n'>
                <'--- a/COPYING\n'>
                <'+++ b/COPYING.1\n'>
                <'@@ -6 +6 @@\n'>
                <'- HOWEVER, in order to allow a migration to GPLv3 if that seems like\n'>
                <'+ However, in order to allow a migration to GPLv3 if that seems like\n'>
              ]
            )
        )
      ]
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'validate output from rename/copy detection (#3)'>)}
        {(SQ <'compare_diff_patch current expected'>)}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_done>
      more_env: []
      words: [{<test_done>}]
      redirects: []
      do_fork: T
    )
  ]
)