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

[PATCH]Make svnserve auto test instance to listen on random port

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2007-02-05 13:15:01 CET

Hi All,
Find the attached patch and log.

With regards
Kamesh Jayachandran


Run the test svnserve instance on a random port so that it won't
collide with existing instance of standard svnserve.

* subversion/tests/cmdline/svnserveautocheck.sh
   Run 'svnserve' on a random free to LISTEN port.
Patch by: kameshj

Index: subversion/tests/cmdline/svnserveautocheck.sh
--- subversion/tests/cmdline/svnserveautocheck.sh (revision 23345)
+++ subversion/tests/cmdline/svnserveautocheck.sh (working copy)
@@ -60,13 +60,20 @@
+while netstat -an|grep $SVNSERVE_PORT|grep "LISTEN";
 $SERVER_CMD -d -r $ABS_BUILDDIR/subversion/tests/cmdline \
             --listen-host \
+ --listen-port $SVNSERVE_PORT \
             --pid-file $SVNSERVE_PID &
-make svncheck
+make check BASE_URL=$BASE_URL

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 5 13:15:09 2007

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