ctdb-server: Use find_public_ip_vnn() in a couple of extra places
[samba4-gss.git] / ctdb / tests / UNIT / eventd / eventd_024.sh
blobdb68d01977913845f7d45417596bde8b9bcd67e8
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "process terminated after debug"
7 setup_eventd
9 result_filter()
11 _pid="[0-9][0-9]*"
12 sed -e "s|${_pid}|PID|"
15 required_error ETIMEDOUT <<EOF
16 Event timeout in random timed out
17 EOF
18 simple_test run 5 random timeout
20 # wait for debug hung script
21 sleep 5
23 ok <<EOF
24 args: PID timeout
25 EOF
26 unit_test cat "${CTDB_BASE}/debug_script.log"
28 pid=$(cat "${CTDB_BASE}/debug_script.log" | awk '{print $2}')
30 ok_null
31 unit_test pstree "$pid"