Merge branch 'master' of ctdb into 'master' of samba
[samba.git] / ctdb / tests / eventscripts / 60.nfs.multi.002.sh
1 #!/bin/sh
2
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
4
5 define_test "takeip, monitor -> reconfigure"
6
7 setup_nfs
8
9 public_address=$(ctdb_get_1_public_address)
10
11 ok_null
12
13 simple_test_event "takeip" $public_address
14
15 # This currently assumes that ctdb scriptstatus will always return a
16 # good status (when replaying).  That should change and we will need
17 # to split this into 2 tests.
18 ok <<EOF
19 Reconfiguring service "nfs"...
20 Replaying previous status for this script due to reconfigure...
21 EOF
22
23 simple_test_event "monitor"