source: vendor/current/ctdb/tests/eventscripts/10.interface.init.023.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: 374 bytes
Line 
1#!/bin/sh
2
3. "${TEST_SCRIPTS_DIR}/unit.sh"
4
5define_test "Check public IP dropping, all assigned"
6
7setup_ctdb
8
9nl="
10"
11ctdb_get_my_public_addresses | {
12 out=""
13 while read dev ip bits ; do
14 ip addr add "${ip}/${bits}" dev "$dev"
15
16 msg="Removing public address ${ip}/${bits} from device ${dev}"
17 out="${out}${out:+${nl}}${msg}"
18 done
19
20 ok "$out"
21
22 simple_test
23}
Note: See TracBrowser for help on using the repository browser.