mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
b183acf467
Michael (This used to be ctdb commit 2634f1bd216ce18f061a282a53314cb1650dbd05)
18 lines
263 B
Bash
Executable File
18 lines
263 B
Bash
Executable File
#!/bin/sh
|
|
|
|
DIRNAME=$(dirname $0)
|
|
|
|
. ${DIRNAME}/../config/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!"
|