repo.or.cz
/
Samba.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
CVE-2016-0771: tests/dns: Remove dependencies on env variables
[Samba.git]
/
ctdb
/
tests
/
eventscripts
/
50.samba.monitor.051.sh
blob
04c1fce11413b25d912be129dade43addd048f6e
1
#!/bin/sh
2
3
.
"
${TEST_SCRIPTS_DIR}
/unit.sh"
4
5
define_test
"auto-stop, simple"
6
7
setup_samba
8
9
export
CTDB_SERVICE_AUTOSTARTSTOP
=
"yes"
10
export
CTDB_MANAGED_SERVICES
=
"foo"
11
unset
CTDB_MANAGES_SAMBA
12
13
ok
<<EOF
14
Stopping service "samba" - no longer managed
15
&Stopping smb: OK
16
EOF
17
simple_test