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
ldb: Release ldb 1.3.0
[Samba.git]
/
ctdb
/
tests
/
eventscripts
/
31.clamd.monitor.002.sh
blob
bfd763403a9ff235af069e2a8e0447089a27b404
1
#!/bin/sh
2
3
.
"
${TEST_SCRIPTS_DIR}
/unit.sh"
4
5
define_test
"Managed, clamd not listening"
6
7
export
CTDB_MANAGES_CLAMD
=
yes
8
export
CTDB_CLAMD_SOCKET
=
"/var/run/clamd.sock"
9
10
setup_generic
11
12
required_result
1
<<EOF
13
ERROR: clamd not listening on
$CTDB_CLAMD_SOCKET
14
EOF
15
simple_test