[tor-commits] [flashproxy/master] readd check target and change the test port so as to not conflict with existing service

infinity0 at torproject.org infinity0 at torproject.org
Thu Nov 21 13:18:46 UTC 2013


commit e2b902fbf0abf768bfacda495fa10868aea26568
Author: Ximin Luo <infinity0 at gmx.com>
Date:   Sun Sep 15 17:37:12 2013 +0100

    readd check target and change the test port so as to not conflict with existing service
---
 facilitator/Makefile.am      |    3 +++
 facilitator/facilitator-test |    2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/facilitator/Makefile.am b/facilitator/Makefile.am
index d28dc48..b8dff41 100644
--- a/facilitator/Makefile.am
+++ b/facilitator/Makefile.am
@@ -29,6 +29,9 @@ CLEANFILES = $(initscript_SCRIPTS)
 
 # our own targets
 
+check:
+	./facilitator-test
+
 # The {pre,post}-{install,remove} targets are just given as reference, and
 # ought to be separate scripts as part of your distro's installation process.
 # They are intentionally not linked to the install target since they require
diff --git a/facilitator/facilitator-test b/facilitator/facilitator-test
index cbd45f8..6dec76d 100755
--- a/facilitator/facilitator-test
+++ b/facilitator/facilitator-test
@@ -8,7 +8,7 @@ import unittest
 import fac
 
 FACILITATOR_HOST = "127.0.0.1"
-FACILITATOR_PORT = 9002
+FACILITATOR_PORT = 39002
 FACILITATOR_ADDR = (FACILITATOR_HOST, FACILITATOR_PORT)
 
 def gimme_socket(host, port):





More information about the tor-commits mailing list