(command.CommandList
  children: [
    (C {<echo>} {(SQ <'--- supervise runs stop on down'>)})
    (command.Subshell
      child: 
        (command.CommandList
          children: [
            (command.Sentence
              child: (C {<echo>} {(SQ <'#!/bin/sh'>)})
              terminator: <Id.Op_Semi _>
            )
            (C {<echo>} {<svc>} {<-dx>} {<.>})
          ]
        )
      redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<'test.sv/run'>})]
    )
    (command.Subshell
      child: 
        (command.CommandList
          children: [
            (command.Sentence
              child: (C {<echo>} {(SQ <'#!/bin/sh'>)})
              terminator: <Id.Op_Semi _>
            )
            (C {<echo>} {<echo>} {<Id.KW_In in>} {<stop>})
          ]
        )
      redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<'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:<Id.Op_Amp _>)
    (C {<wait>})
    (C {<rm>} {<-f>} {<'test.sv/stop'>})
    (C {<echo>})
    (C {<echo>} {(SQ <'--- supervise stops log after main'>)})
    (command.Subshell
      child: 
        (command.CommandList
          children: [
            (command.Sentence
              child: (C {<echo>} {(SQ <'#!/bin/sh'>)})
              terminator: <Id.Op_Semi _>
            )
            (C {<echo>} {(SQ <'exec ../../sleeper'>)})
          ]
        )
      redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<'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>})
  ]
)