ctdb-tests: Unit tests for statd-callout
[samba.git] / ctdb / tests / eventscripts / statd-callout.002.sh
1 #!/bin/sh
2
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
4
5 define_test "2 x add-client"
6
7 setup_ctdb
8
9 FAKE_DATE_OUTPUT="1234565789"
10
11 ok_null
12 simple_test_event "add-client" "192.168.123.45"
13 simple_test_event "add-client" "192.168.123.46"
14
15 check_ctdb_tdb_statd_state "192.168.123.45" "192.168.123.46"