ctdb-tests: Fix faking of program stack traces
commit7f799a8d6f89d2b9f7ae06858e901981d9cc186a
authorMartin Schwenke <martin@meltin.net>
Fri, 18 Mar 2022 02:00:40 +0000 (18 13:00 +1100)
committerAmitay Isaacs <amitay@samba.org>
Fri, 24 Jun 2022 09:49:33 +0000 (24 09:49 +0000)
tree5a645bf1c44ff5b64ed868bb411f0876ce5b6eca
parent0b728a4e8f6f81b5c2b44fa65d2b68167eb8e7ce
ctdb-tests: Fix faking of program stack traces

The current code works in all current cases but is lazy and wrong.
Fix it to avoid breaking on code changes involving different thread
setups.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/UNIT/eventscripts/scripts/60.nfs.sh