(command.CommandList
  children: [
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:test_description)
          op: Equal
          rhs: {(SQ <'tests for git clone -c key=value'>)}
        )
      ]
    )
    (C {(.)} {(./test-lib.sh)})
    (C {(test_expect_success)} {(SQ <'clone -c sets config in cloned repo'>)} 
      {
        (SQ <'\n'> <'\trm -rf child &&\n'> <'\tgit clone -c core.foo=bar . child &&\n'> 
          <'\techo bar >expect &&\n'> <'\tgit --git-dir=child/.git config core.foo >actual &&\n'> <'\ttest_cmp expect actual\n'>
        )
      }
    )
    (C {(test_expect_success)} {(SQ <'clone -c can set multi-keys'>)} 
      {
        (SQ <'\n'> <'\trm -rf child &&\n'> <'\tgit clone -c core.foo=bar -c core.foo=baz . child &&\n'> 
          <'\t{ echo bar; echo baz; } >expect &&\n'> <'\tgit --git-dir=child/.git config --get-all core.foo >actual &&\n'> <'\ttest_cmp expect actual\n'>
        )
      }
    )
    (C {(test_expect_success)} {(SQ <'clone -c without a value is boolean true'>)} 
      {
        (SQ <'\n'> <'\trm -rf child &&\n'> <'\tgit clone -c core.foo . child &&\n'> 
          <'\techo true >expect &&\n'> <'\tgit --git-dir=child/.git config --bool core.foo >actual &&\n'> <'\ttest_cmp expect actual\n'>
        )
      }
    )
    (C {(test_expect_success)} {(SQ <'clone -c config is available during clone'>)} 
      {
        (SQ <'\n'> <'\techo content >file &&\n'> <'\tgit add file &&\n'> <'\tgit commit -m one &&\n'> 
          <'\trm -rf child &&\n'> <'\tgit clone -c core.autocrlf . child &&\n'> <'\tprintf "content\\\\r\\\\n" >expect &&\n'> 
          <'\ttest_cmp expect child/file\n'>
        )
      }
    )
    (command.FuncDef
      name: is_hidden
      body: 
        (command.BraceGroup
          children: [
            (command.Case
              to_match: 
                {
                  (DQ 
                    (word_part.CommandSubPart
                      command_list: 
                        (command.CommandList
                          children: [(C {(attrib)} {(DQ ($ VSub_Number '$1'))})]
                        )
                      left_token: <Left_CommandSub '$('>
                    )
                  )
                }
              arms: [
                (case_arm
                  pat_list: [
                    {(Lit_Other '*') (H) (Lit_Other '*') (Lit_Other '?') (Lit_Other ':') (Lit_Other '*')}
                  ]
                  action: [(command.ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})]
                )
              ]
            )
            (command.ControlFlow token:<ControlFlow_Return return> arg_word:{(1)})
          ]
        )
    )
    (C {(test_expect_success)} {(MINGW)} {(SQ <'clone -c core.hideDotFiles'>)} 
      {
        (SQ <'\n'> <'\ttest_commit attributes .gitattributes "" &&\n'> <'\trm -rf child &&\n'> 
          <'\tgit clone -c core.hideDotFiles=false . child &&\n'> <'\t! is_hidden child/.gitattributes &&\n'> <'\trm -rf child &&\n'> 
          <'\tgit clone -c core.hideDotFiles=dotGitOnly . child &&\n'> <'\t! is_hidden child/.gitattributes &&\n'> <'\trm -rf child &&\n'> 
          <'\tgit clone -c core.hideDotFiles=true . child &&\n'> <'\tis_hidden child/.gitattributes\n'>
        )
      }
    )
    (C {(test_done)})
  ]
)