source: vendor/current/ctdb/tests/eventscripts/10.interface.releaseip.002.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: 290 bytes
Line 
1#!/bin/sh
2
3. "${TEST_SCRIPTS_DIR}/unit.sh"
4
5define_test "error - remove a non-existent ip"
6
7setup_ctdb
8
9public_address=$(ctdb_get_1_public_address)
10ip="${public_address% *}" ; ip="${ip#* }"
11
12required_result 1 "ERROR: Unable to determine interface for IP ${ip}"
13
14simple_test $public_address
Note: See TracBrowser for help on using the repository browser.