repo.or.cz
/
Samba.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
smbd: Simplify strict_lock_default with early returns
[Samba.git]
/
ctdb
/
tests
/
eventscripts
/
00.ctdb.init.022.sh
blob
6e594280a3a7aedab28aebbbaf073968da832715
1
#!/bin/sh
2
3
.
"
${TEST_SCRIPTS_DIR}
/unit.sh"
4
5
define_test
"Check public IP dropping, 1 assigned"
6
7
setup_ctdb
8
9
ctdb_get_1_public_address |
10
while
read
dev ip bits
;
do
11
ip addr add
"
${ip}
/
${bits}
"
dev
"
$dev
"
12
13
ok
<<EOF
14
Removing public address
${ip}/${bits} from device ${dev}
15
EOF
16
17
simple_test
18
done