replmd: Use replmd_set_la_val() when adding new links
[Samba.git] / ctdb / tests / tool / ctdb.ping.001.sh
blob1e6d7c1808cb4b976a45ec730c15ddeeca968634
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "simple ping"
7 setup_ctdbd <<EOF
8 NODEMAP
9 0 192.168.20.41 0x0 CURRENT RECMASTER
10 1 192.168.20.42 0x0
11 2 192.168.20.43 0x0
12 EOF
14 result_filter ()
16 sed -e "s@=[.0-9]* sec@=NUM sec@"
20 ok <<EOF
21 response from 0 time=NUM sec (1 clients)
22 EOF
24 simple_test