summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/eventscripts/49.winbind.monitor.051.sh
blob: fbad928acad62afc365cd130a8660f5deebccf4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

. "${TEST_SCRIPTS_DIR}/unit.sh"

define_test "auto-stop, simple"

setup_winbind

export CTDB_SERVICE_AUTOSTARTSTOP="yes"
export CTDB_MANAGED_SERVICES="foo"
unset CTDB_MANAGES_WINBIND

ok <<EOF
Stopping service "winbind" - no longer managed
&Stopping winbind: OK
EOF
simple_test