auth/credentials: if credentials have principal set, they are not anonymous anymore
[Samba.git] / ctdb / tests / onnode / 0090.sh
blobdd50c51b70ddb0719c4a86645cf241139242ad27
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 cmd="$ONNODE natgw hostname"
7 define_test "$cmd" "no natgw"
9 ctdb_set_output <<EOF
10 -1 0.0.0.0
11 :0:192.168.1.101:0:0:0:0:0:
12 :1:192.168.1.102:0:0:0:0:0:
13 :2:192.168.1.103:0:0:0:0:0:
14 :3:192.168.1.104:0:0:0:0:0:
15 EOF
17 required_result 1 <<EOF
18 onnode: No natgwlist available
19 EOF
21 simple_test $cmd