CVE-2018-1057: s4:dsdb/acl: add check for DSDB_CONTROL_PASSWORD_HASH_VALUES_OID control
[Samba.git] / ctdb / tests / onnode / 0075.sh
blob92fe22053c6d4ac9e3015fe45e85838c9a8d3da5
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 cmd="$ONNODE con hostname"
7 define_test "$cmd" "1st node disconnected"
9 ctdb_set_output <<EOF
10 |Node|IP|Disconnected|Banned|Disabled|Unhealthy|Stopped|Inactive|PartiallyOnline|ThisNode|
11 |0|192.168.1.101|1|0|0|0|0|0|0|N|
12 |1|192.168.1.102|0|0|0|0|0|0|0|Y|
13 |2|192.168.1.103|0|0|0|0|0|0|0|N|
14 |3|192.168.1.104|0|0|0|0|0|0|0|N|
15 EOF
17 required_result <<EOF
19 >> NODE: 192.168.1.102 <<
20 -n 192.168.1.102 hostname
22 >> NODE: 192.168.1.103 <<
23 -n 192.168.1.103 hostname
25 >> NODE: 192.168.1.104 <<
26 -n 192.168.1.104 hostname
27 EOF
29 simple_test $cmd