git.samba.org
/
asn
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1236a8
)
ctdb-tests: Add ps output filter for freebsd
author
Amitay Isaacs
<amitay@gmail.com>
Tue, 10 Jul 2018 08:54:11 +0000
(18:54 +1000)
committer
Martin Schwenke
<martins@samba.org>
Sat, 28 Jul 2018 01:50:10 +0000
(
03:50
+0200)
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>
ctdb/tests/cunit/run_proc_001.sh
patch
|
blob
|
history
diff --git
a/ctdb/tests/cunit/run_proc_001.sh
b/ctdb/tests/cunit/run_proc_001.sh
index c6aee3721fae95f17159dd1e3dbd8dd1c290f49d..ac0c0da6ca435b553af2efcc5059d270ea6eeda5 100755
(executable)
--- a/
ctdb/tests/cunit/run_proc_001.sh
+++ b/
ctdb/tests/cunit/run_proc_001.sh
@@
-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")