s3:script/tests: add a test for VSS write behaviour
[Samba.git] / ctdb / tests / eventd / eventd_012.sh
blob5e6857bff268034d5636472c9252856400109fbd
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "cancel new monitor event"
7 setup_eventd
9 ok_null
10 simple_test_background run 10 multi startup
12 required_error ECANCELED <<EOF
13 Event monitor in multi got cancelled
14 EOF
15 simple_test run 10 multi monitor
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 startup
24 required_error EINVAL <<EOF
25 Event monitor has never run in multi
26 EOF
27 simple_test status multi monitor