summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/eventscripts/50.samba.monitor.050.sh
blob: 69530f3dac4f94a5a605b440d3e17478937c2e60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

. "${TEST_SCRIPTS_DIR}/unit.sh"

define_test "auto-start, simple"

setup_samba "down"

export CTDB_SERVICE_AUTOSTARTSTOP="yes"
export CTDB_MANAGED_SERVICES="foo samba winbind bar"

ok <<EOF
Starting service "samba" - now managed
&Starting smb: OK
EOF
simple_test