ps: Correct BSD c option
procps 3.3.17 the c option changed the command/args field to cmd but this got removed as part of newlib Functionality is back in with a test case. References: https://bugs.debian.org/1026326 Signed-off-by: Craig Small <csmall@dropbear.xyz>
This commit is contained in:
@ -51,3 +51,9 @@ expect_pass "$test" "error: missing AIX field descriptor"
|
||||
set test "ps with unknown AIX field"
|
||||
spawn $ps -o "%p %Z"
|
||||
expect_pass "$test" "error: unknown AIX field descriptor"
|
||||
|
||||
make_testproc
|
||||
set test "ps with c option"
|
||||
spawn $ps co command $testproc1_pid
|
||||
expect_pass "$test" "^COMMAND\\s+spcorp\\s*$"
|
||||
kill_testproc
|
||||
|
Reference in New Issue
Block a user