(command.CommandList
  children: [
    (command.Simple
      blame_tok: <echo>
      more_env: []
      words: [{<echo>} {(DQ <'Testing reactjs @JSX ppx...'>)}]
      redirects: []
      do_fork: T
    )
    (command.ShAssignment
      left: <Id.Lit_VarLike 'testPath='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'testPath='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'testPath='> name:testPath)
          op: assign_op.Equal
          rhs: {(DQ <'miscTests/reactjs_jsx_ppx_tests'>)}
        )
      ]
      redirects: []
    )
    (command.ForEach
      keyword: <Id.KW_For for>
      iter_names: [i]
      iterable: (for_iter.Words words:[{<1>} {<2>} {<3>} {<4>} {<5>}])
      body: 
        (command.DoGroup
          left: <Id.KW_Do do>
          children: [
            (command.ShAssignment
              left: <Id.Lit_VarLike 'test='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'test='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'test='> name:test)
                  op: assign_op.Equal
                  rhs: {(DQ ($ Id.VSub_DollarName testPath) <'/test'> ($ Id.VSub_DollarName i) <.re>)}
                )
              ]
              redirects: []
            )
            (command.ShAssignment
              left: <Id.Lit_VarLike 'expected='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'expected='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'expected='> name:expected)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (CommandSub
                        left_token: <Id.Left_Backtick '`'>
                        child: 
                          (command.Simple
                            blame_tok: <cat>
                            more_env: []
                            words: [
                              {<cat>}
                              {($ Id.VSub_DollarName testPath) <'/expected'> ($ Id.VSub_DollarName i) 
                                <.txt>
                              }
                            ]
                            redirects: []
                            do_fork: T
                          )
                        right: <Id.Backtick_Right '`'>
                      )
                    }
                )
              ]
              redirects: []
            )
            (command.Pipeline
              children: [
                (command.Simple
                  blame_tok: <ocamlc>
                  more_env: []
                  words: [
                    {<ocamlc>}
                    {<-dsource>}
                    {<-ppx>}
                    {<'./reactjs_jsx_ppx.native'>}
                    {<-pp>}
                    {<'./refmt_impl.native'>}
                    {<-impl>}
                    {($ Id.VSub_DollarName test)}
                  ]
                  redirects: [(Redir op:<Id.Redir_GreatAnd '2>&'> loc:(redir_loc.Fd fd:2) arg:{<1>})]
                  do_fork: T
                )
                (command.Simple
                  blame_tok: <sed>
                  more_env: []
                  words: [{<sed>} {(SQ <'$ d'>)}]
                  redirects: []
                  do_fork: T
                )
                (command.Simple
                  blame_tok: <sed>
                  more_env: []
                  words: [{<sed>} {(SQ <'$ d'>)}]
                  redirects: [
                    (Redir
                      op: <Id.Redir_Great '>'>
                      loc: (redir_loc.Fd fd:1)
                      arg: {($ Id.VSub_DollarName testPath) <'/actual'> (${ Id.VSub_Name i) <.txt>}
                    )
                  ]
                  do_fork: T
                )
              ]
              ops: [<Id.Op_Pipe _> <Id.Op_Pipe _>]
            )
            (command.ShAssignment
              left: <Id.Lit_VarLike 'actual='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'actual='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'actual='> name:actual)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (CommandSub
                        left_token: <Id.Left_Backtick '`'>
                        child: 
                          (command.Simple
                            blame_tok: <cat>
                            more_env: []
                            words: [
                              {<cat>}
                              {($ Id.VSub_DollarName testPath) <'/actual'> ($ Id.VSub_DollarName i) 
                                <.txt>
                              }
                            ]
                            redirects: []
                            do_fork: T
                          )
                        right: <Id.Backtick_Right '`'>
                      )
                    }
                )
              ]
              redirects: []
            )
            (command.If
              if_kw: <Id.KW_If if>
              arms: [
                (IfArm
                  keyword: <Id.KW_If if>
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (command.DBracket
                              left: <Id.KW_DLeftBracket '[['>
                              expr: 
                                (bool_expr.Binary
                                  op_id: Id.BoolBinary_GlobEqual
                                  left: {(DQ ($ Id.VSub_DollarName expected))}
                                  right: {(DQ ($ Id.VSub_DollarName actual))}
                                )
                              right: <Id.Lit_DRightBracket ']]'>
                              redirects: []
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  then_kw: <Id.KW_Then then>
                  action: [
                    (command.Simple
                      blame_tok: <echo>
                      more_env: []
                      words: [{<echo>} {(DQ <OK>)}]
                      redirects: []
                      do_fork: T
                    )
                  ]
                  spids: [125 142]
                )
              ]
              else_kw: <Id.KW_Else else>
              else_action: [
                (command.Simple
                  blame_tok: <echo>
                  more_env: []
                  words: [{<echo>} {(DQ <Wrong>)}]
                  redirects: []
                  do_fork: T
                )
                (command.Simple
                  blame_tok: <diff>
                  more_env: []
                  words: [
                    {<diff>}
                    {<-u>}
                    {($ Id.VSub_DollarName testPath) <'/expected'> ($ Id.VSub_DollarName i) <.txt>}
                    {($ Id.VSub_DollarName testPath) <'/actual'> ($ Id.VSub_DollarName i) <.txt>}
                  ]
                  redirects: []
                  do_fork: T
                )
                (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<1>})
              ]
              fi_kw: <Id.KW_Fi fi>
              redirects: []
            )
          ]
          right: <Id.KW_Done done>
        )
      redirects: []
    )
  ]
)