[Secure-testing-commits] r13614 - bin

Michael Gilbert gilbert-guest at alioth.debian.org
Mon Dec 21 06:06:53 UTC 2009


Author: gilbert-guest
Date: 2009-12-21 06:06:44 +0000 (Mon, 21 Dec 2009)
New Revision: 13614

Modified:
   bin/test-web-server
Log:
a regression in BaseHTTPServer (http://bugs.debian.org/561899) makes it appear that the local tracker isn't running, but it is
- change local ip address to something that works for both stable and unstable

Modified: bin/test-web-server
===================================================================
--- bin/test-web-server	2009-12-20 18:17:32 UTC (rev 13613)
+++ bin/test-web-server	2009-12-21 06:06:44 UTC (rev 13614)
@@ -3,8 +3,9 @@
 set -e
 
 server_port=10605
+ip_address="127.0.0.1"
 service=tracker_service.py
-url="http://localhost:$server_port/tracker"
+url="http://$ip_address:$server_port/tracker"
 
 bindir="`dirname $0`"
 if ! test -r "$bindir/$service" ; then
@@ -14,4 +15,4 @@
 
 cd "$bindir"
 echo "URL: $url"
-python "$service" "$url" localhost "$server_port" ../data/security.db || true
+python "$service" "$url" "$ip_address" "$server_port" ../data/security.db || true




More information about the Secure-testing-commits mailing list