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>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
# Use test -s because the file is created above using mktemp
wait_until 60 test -s "$debug_output"
+echo
+echo "Debugging output:"
+cat "$debug_output"
+echo
+
echo "Checking output of hung script debugging..."
# Can we actually read kernel stacks