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