LockWait congestion.
[sahlberg/ctdb.git] / tests / test_check_tcp_ports.sh
1 #!/bin/sh
2
3 DIRNAME=$(dirname $0)
4
5 . ${DIRNAME}/../config/functions
6
7 SERVICE="test-service"
8
9 PORTS="$@"
10
11 if [ "x${PORTS}" = "x" ] ; then
12         PORTS=139
13 fi
14
15 ctdb_check_tcp_ports ${SERVICE} ${PORTS}
16
17 echo "Test for service '${SERVICE}' on tcp ports ${PORTS} succeeded!"