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
testprogs/blackbox: add test_trust_utils.sh
[Samba.git]
/
ctdb
/
tests
/
eventscripts
/
10.interface.monitor.006.sh
blob
3c483a3516f3e937c4740ce5223050d263516cf2
1
#!/bin/sh
2
3
.
"
${TEST_SCRIPTS_DIR}
/unit.sh"
4
5
define_test
"1 bond, active slaves, link down"
6
7
setup_ctdb
8
9
iface
=
$
(
ctdb_get_1_interface
)
10
11
setup_bond
$iface
""
"down"
12
13
required_result
1
"ERROR: public network interface
$iface
is down"
14
15
simple_test