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