[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [patch] Support modern network utilities for finding free ports for tests

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 10 Jun 2015 13:04:55 +0100

Andreas Stieger <andreas.stieger_at_gmx.de> writes:

> HTTPD_PORT=3691
> -while netstat -an | grep $HTTPD_PORT | grep 'LISTEN' >/dev/null; do
> +while \
> + (ss -ltn sport = :$HTTP_PORT 2>&1 | grep :$HTTP_PORT > /dev/null ) \
> + || \
> + (netstat -an 2>&1 | grep $HTTP_PORT | grep 'LISTEN' > /dev/null ) \
> + do

You have HTTP_PORT where it should be HTTPD_PORT. I fixed that and
committed r1684649. Thanks!

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2015-06-10 14:05:08 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.