[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [chutney/master] Include bridge clients in chutney verify



commit 1c707d5afbce3800b159dcb50747e6724d0d2870
Author: teor <teor2345@xxxxxxxxx>
Date:   Sat Jan 10 10:53:40 2015 +1100

    Include bridge clients in chutney verify
    
    Test bridge clients using chutney verify, the same way we test clients.
---
 lib/chutney/TorNet.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/chutney/TorNet.py b/lib/chutney/TorNet.py
index ef85e1f..3a28fc3 100644
--- a/lib/chutney/TorNet.py
+++ b/lib/chutney/TorNet.py
@@ -882,7 +882,9 @@ class Network(object):
             tmpdata = randfp.read(DATALEN)
         bind_to = ('127.0.0.1', LISTEN_PORT)
         tt = chutney.Traffic.TrafficTester(bind_to, tmpdata, TIMEOUT)
-        for op in filter(lambda n: n._env['tag'] == 'c', self._nodes):
+        for op in filter(lambda n:
+                         n._env['tag'] == 'c' or n._env['tag'] == 'bc',
+                         self._nodes):
             tt.add(chutney.Traffic.Source(tt, bind_to, tmpdata,
                                           ('localhost',
                                            int(op._env['socksport']))))



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits