git.samba.org
/
metze
/
samba
/
wip.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ctdb-tests: Drop residual CTDB_MANAGED_<service> variables
[metze/samba/wip.git]
/
ctdb
/
tests
/
eventscripts
/
31.clamd.monitor.002.sh
1
#!/bin/sh
2
3
. "${TEST_SCRIPTS_DIR}/unit.sh"
4
5
define_test "Managed, clamd not listening"
6
7
setup
8
9
setup_script_options <<EOF
10
CTDB_CLAMD_SOCKET="/var/run/clamd.sock"
11
EOF
12
13
required_result 1 <<EOF
14
ERROR: clamd not listening on $CTDB_CLAMD_SOCKET
15
EOF
16
simple_test