1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/ctdb/tests/test_check_tcp_ports.sh

18 lines
263 B
Bash
Raw Normal View History

#!/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!"