list.bats 312 B

12345678
  1. #!/usr/bin/env bats
  2. @test "List descriptors" {
  3. run ./bin/gfpsgo -list
  4. [ "${status:-}" -eq 0 ]
  5. [[ ${lines[0]:?} =~ "args, capamb, capbnd, capeff, capinh, capprm, comm, etime, group, hgroup, hpid, huser, label, nice, pcpu, pgid, pid, ppid, rgroup, rss, ruser, seccomp, state, stime, time, tty, user, vsz" ]]
  6. }