summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/eventscripts
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2012-04-27 14:15:06 +1000
committerMartin Schwenke <martin@meltin.net>2012-04-27 15:42:42 +1000
commita4083f2e97e51b1cc0a93693b609aee03520e74e (patch)
tree8363618b6091216bd7589bb857f28a07aece2265 /ctdb/tests/eventscripts
parent6a21c819e77a7e1cfdd081b24c3521129f9388bd (diff)
downloadsamba-a4083f2e97e51b1cc0a93693b609aee03520e74e.tar.gz
samba-a4083f2e97e51b1cc0a93693b609aee03520e74e.tar.xz
samba-a4083f2e97e51b1cc0a93693b609aee03520e74e.zip
tests/eventscripts: Explicitly set CTDB_SERVICE_AUTOSTARTSTOP="yes"
No use depending on defaults in the initscript - the tests should control what is tested. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 1c37abac5fd18c139aa55989d0fb6b475f4c22f1)
Diffstat (limited to 'ctdb/tests/eventscripts')
-rwxr-xr-xctdb/tests/eventscripts/50.samba.monitor.050.sh1
-rwxr-xr-xctdb/tests/eventscripts/50.samba.monitor.051.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/tests/eventscripts/50.samba.monitor.050.sh b/ctdb/tests/eventscripts/50.samba.monitor.050.sh
index f4b00bb8573..f6560d022a3 100755
--- a/ctdb/tests/eventscripts/50.samba.monitor.050.sh
+++ b/ctdb/tests/eventscripts/50.samba.monitor.050.sh
@@ -6,6 +6,7 @@ define_test "auto-start, simple"
setup_samba "down"
+export CTDB_SERVICE_AUTOSTARTSTOP="yes"
export CTDB_MANAGED_SERVICES="foo samba winbind bar"
ok <<EOF
diff --git a/ctdb/tests/eventscripts/50.samba.monitor.051.sh b/ctdb/tests/eventscripts/50.samba.monitor.051.sh
index c9f1a96bc08..4a66269b5d0 100755
--- a/ctdb/tests/eventscripts/50.samba.monitor.051.sh
+++ b/ctdb/tests/eventscripts/50.samba.monitor.051.sh
@@ -6,6 +6,7 @@ define_test "auto-stop, simple"
setup_samba
+export CTDB_SERVICE_AUTOSTARTSTOP="yes"
export CTDB_MANAGED_SERVICES="foo"
unset CTDB_MANAGES_SAMBA
unset CTDB_MANAGES_WINBIND