unix_msg: Lift sockaddr_un handling from unix_dgram_init
[Samba.git] / ctdb / tests / test_check_tcp_ports.sh
blobe439b6d3744b87d0a50ed64deeb87894932de62e
1 #!/bin/sh
3 DIRNAME=$(dirname $0)
5 . ${DIRNAME}/../config/functions
7 SERVICE="test-service"
9 PORTS="$@"
11 if [ "x${PORTS}" = "x" ] ; then
12 PORTS=139
15 ctdb_check_tcp_ports ${SERVICE} ${PORTS}
17 echo "Test for service '${SERVICE}' on tcp ports ${PORTS} succeeded!"