1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00
samba-mirror/ctdb/tests/eventscripts/simple/10.interface.monitor.006.sh

16 lines
252 B
Bash
Raw Normal View History

#!/bin/sh
. "${EVENTSCRIPTS_TESTS_DIR}/common.sh"
define_test "1 bond, active slaves, link down"
setup_ctdb
iface=$(ctdb_get_1_interface)
setup_bond $iface "" "down"
required_result 1 "ERROR: public network interface $iface is down"
simple_test