source: vendor/current/ctdb/tests/onnode/0090.sh

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
5cmd="$ONNODE natgw hostname"
6
7define_test "$cmd" "no natgw"
8
9ctdb_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:
15EOF
16
17required_result 1 <<EOF
18onnode: No natgwlist available
19EOF
20
21simple_test $cmd
Note: See TracBrowser for help on using the repository browser.