mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
ctdb-tests: Add ps output filter for freebsd
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13520 Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net> (cherry picked from commit b7dbe9f306fda0d8f1dcc8dd81864539f6ff2632)
This commit is contained in:
parent
ed503603df
commit
adc4c784f0
@ -127,7 +127,8 @@ unit_test run_proc_test 1 -1 "$prog"
|
||||
result_filter ()
|
||||
{
|
||||
_header=" *PID *TTY *TIME *CMD"
|
||||
sed -e "s|^${_header}|HEADER|"
|
||||
_header2=" *PID *TT *STAT *TIME *COMMAND"
|
||||
sed -e "s|^${_header}|HEADER|" -e "s|^${_header2}|HEADER|"
|
||||
}
|
||||
|
||||
pid=$(cat "$pidfile")
|
||||
|
Loading…
x
Reference in New Issue
Block a user