1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

ctdb-tests: Show hung script debugging output

The output in a test failure appears to contain no pstree output
because "00\.test\.script,.*" does not match.  However, this is just a
guess because the output is not shown.

Showing the output makes it easier to understand test failures.

Signed-off-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
Martin Schwenke 2020-04-21 11:34:12 +10:00 committed by Amitay Isaacs
parent 9694ba6fe4
commit c78de201f8

View File

@ -53,6 +53,11 @@ echo "Waiting for debugging output to appear..."
# Use test -s because the file is created above using mktemp # Use test -s because the file is created above using mktemp
wait_until 60 test -s "$debug_output" wait_until 60 test -s "$debug_output"
echo
echo "Debugging output:"
cat "$debug_output"
echo
echo "Checking output of hung script debugging..." echo "Checking output of hung script debugging..."
# Can we actually read kernel stacks # Can we actually read kernel stacks