mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
014a1eb540
Also fix an unused test to set CTDB_BASE. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Jose A. Rivera <jarrpa@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
19 lines
290 B
Bash
Executable File
19 lines
290 B
Bash
Executable File
#!/bin/sh
|
|
|
|
DIRNAME=$(dirname $0)
|
|
|
|
CTDB_BASE="${DIRNAME}/../config"
|
|
. "${CTDB_BASE}/functions"
|
|
|
|
SERVICE="test-service"
|
|
|
|
PORTS="$@"
|
|
|
|
if [ "x${PORTS}" = "x" ] ; then
|
|
PORTS=139
|
|
fi
|
|
|
|
ctdb_check_tcp_ports ${SERVICE} ${PORTS}
|
|
|
|
echo "Test for service '${SERVICE}' on tcp ports ${PORTS} succeeded!"
|