From: Martin Schwenke Date: Wed, 18 Jul 2018 05:24:05 +0000 (+1000) Subject: ctdb-tests: Loosen match against pstree output in simple test X-Git-Tag: ldb-1.5.0~266 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=359e52187fbc9b5f94570ff8d12607b4fc42e4f2;p=thirdparty%2Fsamba.git 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 Reviewed-by: Amitay Isaacs Autobuild-User(master): Amitay Isaacs Autobuild-Date(master): Wed Jul 18 14:53:39 CEST 2018 on sn-devel-144 --- diff --git a/ctdb/tests/simple/90_debug_hung_script.sh b/ctdb/tests/simple/90_debug_hung_script.sh index b605dc02fd4..846188fc716 100755 --- a/ctdb/tests/simple/90_debug_hung_script.sh +++ b/ctdb/tests/simple/90_debug_hung_script.sh @@ -73,7 +73,7 @@ done <] .*sleep+.*