mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
ctdb-tests: Loosen match against pstree output in simple test
As per previous commit, pstree can truncate output if it gets too wide. Instead of matching against the script's full path and arguments, just match against the script name. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13531 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Wed Jul 18 14:53:39 CEST 2018 on sn-devel-144
This commit is contained in:
parent
da115efd2b
commit
359e52187f
@ -73,7 +73,7 @@ done <<EOF
|
||||
===== Start of hung script debug for PID=".*", event="monitor" =====
|
||||
===== End of hung script debug for PID=".*", event="monitor" =====
|
||||
pstree -p -a .*:
|
||||
00\\\\.test\\\\.script,.* ${ctdb_base}/events/legacy/00\\\\.test\\\\.script monitor
|
||||
00\\\\.test\\\\.script,.*
|
||||
*\`-sleep,.*
|
||||
---- Stack trace of interesting process [0-9]*\\\\[sleep\\\\] ----
|
||||
[<[0-9a-f]*>] .*sleep+.*
|
||||
|
Loading…
Reference in New Issue
Block a user