ctdb-server: Use find_public_ip_vnn() in a couple of extra places
[samba4-gss.git] / ctdb / tests / UNIT / eventd / eventd_042.sh
blob862cf6c695329b877c1227c9c7d1f64c5ba5429a
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "multiple components with failure"
7 setup_eventd
9 ok_null
10 simple_test_background run 10 multi monitor
12 required_error ENOEXEC <<EOF
13 Event failure in random failed
14 EOF
15 simple_test run 10 random failure
17 ok <<EOF
18 01.test OK DURATION DATETIME
19 02.test OK DURATION DATETIME
20 03.test OK DURATION DATETIME
21 EOF
22 simple_test status multi monitor
24 required_result 1 <<EOF
25 01.disabled DISABLED
26 02.enabled ERROR DURATION DATETIME
27 OUTPUT:
28 EOF
29 simple_test status random failure