summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/UNIT/eventd/eventd_041.sh
blob: ca4a99cc8de1e68070fa7826dc94ea7a6e5d2308 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

. "${TEST_SCRIPTS_DIR}/unit.sh"

define_test "multiple components"

setup_eventd

ok_null
simple_test_background run 10 multi monitor

ok_null
simple_test run 10 random monitor

ok <<EOF
01.test              OK         DURATION DATETIME
02.test              OK         DURATION DATETIME
03.test              OK         DURATION DATETIME
EOF
simple_test status multi monitor

ok <<EOF
01.disabled          DISABLED  
02.enabled           OK         DURATION DATETIME
EOF
simple_test status random monitor