git.samba.org
/
samba.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
tests - run_tests ignores trailing '/' on directories
[samba.git]
/
ctdb
/
tests
/
eventscripts
/
simple
/
10.interface.monitor.003.sh
1
#!/bin/sh
2
3
. "${EVENTSCRIPTS_TESTS_DIR}/common.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