(CommandList
  children: [
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:tid)
          op: Equal
          rhs: {(DQ ('connect after login grace timeout'))}
          spids: [7]
        )
      ]
      spids: [7]
    )
    (C {(trace)} {(DQ ('test login grace with privsep'))})
    (C {(cp)} {($ VSub_Name '$OBJ') (/sshd_config)} {($ VSub_Name '$OBJ') (/sshd_config.orig)})
    (SimpleCommand
      words: [{(grep)} {(-vi)} {(LoginGraceTime)} {($ VSub_Name '$OBJ') (/sshd_config.orig)}]
      redirects: [
        (Redir
          op_id: Redir_Great
          fd: -1
          arg_word: {($ VSub_Name '$OBJ') (/sshd_config)}
          spids: [36]
        )
      ]
    )
    (SimpleCommand
      words: [{(echo)} {(DQ ('LoginGraceTime 10s'))}]
      redirects: [
        (Redir
          op_id: Redir_DGreat
          fd: -1
          arg_word: {($ VSub_Name '$OBJ') (/sshd_config)}
          spids: [47]
        )
      ]
    )
    (SimpleCommand
      words: [{(echo)} {(DQ ('MaxStartups 1'))}]
      redirects: [
        (Redir
          op_id: Redir_DGreat
          fd: -1
          arg_word: {($ VSub_Name '$OBJ') (/sshd_config)}
          spids: [58]
        )
      ]
    )
    (C {(start_sshd)})
    (Sentence
      child: 
        (Pipeline
          children: [
            (Subshell
              child: 
                (CommandList
                  children: [
                    (Sentence
                      child: (C {(echo)} {(SSH-2.0-fake)})
                      terminator: <Op_Semi ';'>
                    )
                    (C {(sleep)} {(60)})
                  ]
                )
              spids: [66 75]
            )
            (SimpleCommand
              words: [{(telnet)} {(127.0.0.1)} {(${ VSub_Name PORT)}]
              redirects: [
                (Redir op_id:Redir_Great fd:-1 arg_word:{(/dev/null)} spids:[87])
                (Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[90])
              ]
            )
          ]
          negated: False
        )
      terminator: <Op_Amp '&'>
    )
    (C {(sleep)} {(15)})
    (C {(${ VSub_Name SSH)} {(-F)} {($ VSub_Name '$OBJ') (/ssh_config)} {(somehost)} {(true)})
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: (C {(Lit_Other '[')} {($ VSub_QMark '$?')} {(-ne)} {(0)} {(Lit_Other ']')})
              terminator: <Op_Semi ';'>
            )
          ]
          action: [(C {(fail)} {(DQ ('ssh connect after login grace timeout failed with privsep'))})]
          spids: [-1 126]
        )
      ]
      spids: [-1 135]
    )
    (C {(stop_sshd)})
    (C {(trace)} {(DQ ('test login grace without privsep'))})
    (SimpleCommand
      words: [{(echo)} {(DQ ('UsePrivilegeSeparation no'))}]
      redirects: [
        (Redir
          op_id: Redir_DGreat
          fd: -1
          arg_word: {($ VSub_Name '$OBJ') (/sshd_config)}
          spids: [153]
        )
      ]
    )
    (C {(start_sshd)})
    (C {(sleep)} {(1)})
    (Sentence
      child: 
        (Pipeline
          children: [
            (Subshell
              child: 
                (CommandList
                  children: [
                    (Sentence
                      child: (C {(echo)} {(SSH-2.0-fake)})
                      terminator: <Op_Semi ';'>
                    )
                    (C {(sleep)} {(60)})
                  ]
                )
              spids: [165 174]
            )
            (SimpleCommand
              words: [{(telnet)} {(127.0.0.1)} {(${ VSub_Name PORT)}]
              redirects: [
                (Redir op_id:Redir_Great fd:-1 arg_word:{(/dev/null)} spids:[186])
                (Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[189])
              ]
            )
          ]
          negated: False
        )
      terminator: <Op_Amp '&'>
    )
    (C {(sleep)} {(15)})
    (C {(${ VSub_Name SSH)} {(-F)} {($ VSub_Name '$OBJ') (/ssh_config)} {(somehost)} {(true)})
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: (C {(Lit_Other '[')} {($ VSub_QMark '$?')} {(-ne)} {(0)} {(Lit_Other ']')})
              terminator: <Op_Semi ';'>
            )
          ]
          action: [(C {(fail)} {(DQ ('ssh connect after login grace timeout failed without privsep'))})]
          spids: [-1 225]
        )
      ]
      spids: [-1 234]
    )
  ]
)