summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/eventscripts/statd-callout.002.sh
blob: f8778f7e98ad2933a37a9afbf70c1b3ad090cf3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

. "${TEST_SCRIPTS_DIR}/unit.sh"

define_test "2 x add-client"

setup_ctdb

FAKE_DATE_OUTPUT="1234565789"

ok_null
simple_test_event "add-client" "192.168.123.45"
simple_test_event "add-client" "192.168.123.46"

check_ctdb_tdb_statd_state "192.168.123.45" "192.168.123.46"