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 validate_lock_entries
[Samba.git]
/
ctdb
/
tests
/
eventscripts
/
10.interface.monitor.003.sh
blob
1eb7916b932f5e2934e50c2927592ebf2800f5dd
1
#!/bin/sh
2
3
.
"
${TEST_SCRIPTS_DIR}
/unit.sh"
4
5
define_test
"1 interface down"
6
7
setup_ctdb
8
9
iface
=
$
(
ctdb_get_1_interface
)
10
11
ethtool_interfaces_down
$iface
12
13
required_result
1
"ERROR: No link on the public network interface
$iface
"
14
15
simple_test