summaryrefslogtreecommitdiff
path: root/ctdb/tests/eventscripts/31.clamd.monitor.003.sh
blob: e57f02580c3004a037dd3396c24cd59d7431a91e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

. "${TEST_SCRIPTS_DIR}/unit.sh"

define_test "Managed, clamd listening"

export CTDB_MANAGES_CLAMD=yes
export CTDB_CLAMD_SOCKET="/var/run/clamd.sock"

setup_generic

unix_socket_listening "$CTDB_CLAMD_SOCKET"

ok_null
simple_test