(command.CommandList
  children: [
    (C {(echo)} {(SQ (Token id:Id.Lit_Chars val:'--- supervise runs stop on down' span_id:3))})
    (command.Subshell
      command_list: 
        (command.CommandList
          children: [
            (command.Sentence
              child: (C {(echo)} {(SQ (Token id:Id.Lit_Chars val:'#!/bin/sh' span_id:11))})
              terminator: (Token id:Id.Op_Semi val:';' span_id:13)
            )
            (C {(echo)} {(svc)} {(-dx)} {(.)})
          ]
        )
      redirects: [
        (redir.Redir
          op: (Token id:Id.Redir_Great val:'>' span_id:25)
          fd: -1
          arg_word: {(test.sv/run)}
        )
      ]
    )
    (command.Subshell
      command_list: 
        (command.CommandList
          children: [
            (command.Sentence
              child: (C {(echo)} {(SQ (Token id:Id.Lit_Chars val:'#!/bin/sh' span_id:33))})
              terminator: (Token id:Id.Op_Semi val:';' span_id:35)
            )
            (C {(echo)} {(echo)} {(Id.KW_In in)} {(stop)})
          ]
        )
      redirects: [
        (redir.Redir
          op: (Token id:Id.Redir_Great val:'>' span_id:47)
          fd: -1
          arg_word: {(test.sv/stop)}
        )
      ]
    )
    (C {(rm)} {(-f)} {(test.sv/down)})
    (C {(chmod)} {(Id.Lit_Other '+') (x)} {(test.sv/run)} {(test.sv/stop)})
    (command.Sentence
      child: (C {(supervise)} {(test.sv)})
      terminator: (Token id:Id.Op_Amp val:'&' span_id:69)
    )
    (C {(wait)})
    (C {(rm)} {(-f)} {(test.sv/stop)})
    (C {(echo)})
    (C {(echo)} {(SQ (Token id:Id.Lit_Chars val:'--- supervise stops log after main' span_id:85))})
    (command.Subshell
      command_list: 
        (command.CommandList
          children: [
            (command.Sentence
              child: (C {(echo)} {(SQ (Token id:Id.Lit_Chars val:'#!/bin/sh' span_id:93))})
              terminator: (Token id:Id.Op_Semi val:';' span_id:95)
            )
            (C {(echo)} {(SQ (Token id:Id.Lit_Chars val:'exec ../../sleeper' span_id:100))})
          ]
        )
      redirects: [
        (redir.Redir
          op: (Token id:Id.Redir_Great val:'>' span_id:105)
          fd: -1
          arg_word: {(test.sv/log)}
        )
      ]
    )
    (C {(chmod)} {(Id.Lit_Other '+') (x)} {(test.sv/log)})
    (C {(supervise)} {(test.sv)})
    (C {(wait)})
    (C {(rm)} {(-f)} {(test.sv/log)})
    (C {(echo)})
  ]
)