(CommandList
  children: [
    (C {(echo)} {(SQ <'--- envuidgid insists on two arguments'>)})
    (CommandList
      children: [
        (Sentence child:(C {(envuidgid)}) terminator:<Op_Semi ';'>)
        (C {(echo)} {($ VSub_QMark '$?')})
      ]
    )
    (CommandList
      children: [
        (Sentence child:(C {(envuidgid)} {(root)}) terminator:<Op_Semi ';'>)
        (C {(echo)} {($ VSub_QMark '$?')})
      ]
    )
    (C {(echo)} {(SQ <'--- envuidgid sets UID=0 for root'>)})
    (CommandList
      children: [
        (Sentence
          child: (C {(envuidgid)} {(root)} {(printenv)} {(UID)})
          terminator: <Op_Semi ';'>
        )
        (C {(echo)} {($ VSub_QMark '$?')})
      ]
    )
    (C {(echo)} {(SQ <'--- envuidgid complains if it cannot run program'>)})
    (CommandList
      children: [
        (Sentence child:(C {(envuidgid)} {(root)} {(./nonexistent)}) terminator:<Op_Semi ';'>)
        (C {(echo)} {($ VSub_QMark '$?')})
      ]
    )
  ]
)