|
Last change
on this file was 988, checked in by Silvan Scherrer, 9 years ago |
|
Samba Server: update vendor to version 4.4.3
|
|
File size:
332 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 |
|
|---|
| 3 | . "${TEST_SCRIPTS_DIR}/unit.sh"
|
|---|
| 4 |
|
|---|
| 5 | cmd="$ONNODE natgw hostname"
|
|---|
| 6 |
|
|---|
| 7 | define_test "$cmd" "no natgw"
|
|---|
| 8 |
|
|---|
| 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
|
|---|
| 16 |
|
|---|
| 17 | required_result 1 <<EOF
|
|---|
| 18 | onnode: No natgwlist available
|
|---|
| 19 | EOF
|
|---|
| 20 |
|
|---|
| 21 | simple_test $cmd
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.