(CommandList
  children: [
    (AndOr
      children: [(C {(.)} {(sources/utility_functions.sh)}) (C {(exit)} {(1)})]
      op_id: Op_DPipe
    )
    (C {(echo)} {(DQ ("Architecture,Smoketest,Control Image,Build Stage"))})
    (ForEach
      iter_name: i
      iter_words: [
        {
          (CommandSubPart
            command_list: 
              (Pipeline
                children: [(C {(ls)} {(sources/targets)}) (C {(sed)} {(SQ <"s@.*/@@">)})]
                negated: False
              )
            spids: [35 47]
          )
        }
      ]
      do_arg_iter: False
      body: 
        (DoGroup
          child: 
            (CommandList
              children: [
                (AndOr
                  children: [
                    (C {(Lit_Other "[")} {(KW_Bang "!")} {(-f)} 
                      {(DQ (sources/targets/) ($ VSub_Name "$i"))} {(Lit_Other "]")}
                    )
                    (C {(continue)})
                  ]
                  op_id: Op_DAmp
                )
                (C {(echo)} {(-n)} {(DQ ($ VSub_Name "$i") (","))})
                (AndOr
                  children: [
                    (SimpleCommand
                      words: [
                        {(grep)}
                        {(-q)}
                        {(SQ <"Hello world!">)}
                        {(build/logs/smoketest-) ($ VSub_Name "$i") (.txt)}
                      ]
                      redirects: [(Redirect op_id:Redir_Great arg_word:{(/dev/null)} fd:2 spids:[94])]
                    )
                    (AndOr
                      children: [
                        (C {(echo)} {(-n)} {(DQ ("PASS,"))})
                        (C {(echo)} {(-n)} {(DQ ("FAIL,"))})
                      ]
                      op_id: Op_DPipe
                    )
                  ]
                  op_id: Op_DAmp
                )
                (AndOr
                  children: [
                    (C {(Lit_Other "[")} {(-e)} {(DQ (build/dropbearmulti-) ($ VSub_Name "$i"))} 
                      {(Lit_Other "]")}
                    )
                    (AndOr
                      children: [
                        (C {(echo)} {(-n)} {(DQ ("PASS,"))})
                        (C {(echo)} {(-n)} {(DQ ("FAIL,"))})
                      ]
                      op_id: Op_DPipe
                    )
                  ]
                  op_id: Op_DAmp
                )
                (C {(echo)} 
                  {
                    (CommandSubPart
                      command_list: 
                        (Pipeline
                          children: [
                            (C {(sed)} {(-n)} {(SQ <"s/^=== \\([^(]*\\)([^ ]* \\(.*\\))/\\2 \\1/p">)} 
                              {(build/logs/build-) ($ VSub_Name "$i") (.txt)}
                            )
                            (C {(tail)} {(-n)} {(1)})
                          ]
                          negated: False
                        )
                      spids: [156 181]
                    )
                  }
                )
              ]
            )
          spids: [49 183]
        )
      spids: [34 -1]
    )
  ]
)