summaryrefslogtreecommitdiff
path: root/src/test/test-network.sh
AgeCommit message (Collapse)Author
2015-08-03When building with coverage, run chutney with coverageNick Mathewson
Previously, this required me to do stuff like 'cp src/or/tor-cov src/or/tor' , which is pretty embarrassing.
2015-07-06Add chutney performance testing support to src/test/test-network.shteor
The following arguments change how chutney verifies the network: --bytes n sends n bytes per test connection (10 KBytes) --connections n makes n test connections per client (1) --hs-multi-client 1 makes each client connect to each HS (0) Requires the corresponding chutney performance testing changes. Note: using --connections 7 or greater on a HS will trigger #15937. Patch by "teor".
2015-03-22Fix test-network.sh argument parsingSebastian Hahn
The bash on one of my machines didn't understand the question mark correctly, it didn't end up accepting flavor. We can spell it out explicitly.
2015-01-10Speed up hidden service bootstrap by reducing the initial post delayteor
Drop the MIN_REND_INITIAL_POST_DELAY on a testing network to 5 seconds, but keep the default at 30 seconds. Reduces the hidden service bootstrap to 25 seconds from around 45 seconds. Change the default src/test/test-network.sh delay to 25 seconds. Closes ticket 13401.
2014-10-08Merge remote-tracking branches 'teor/issue-13161-test-network' and ↵Nick Mathewson
'teor/issue-13161-TestingDirAuthVoteExit'
2014-10-05Exit test-network with status of chutney verifyteor
Preserve previous semantics of src/test/test-network.sh by exiting with the exit status of chutney verify, even though the latest version ends with chutney stop.
2014-10-04Stop an apparent test-network hang when used with make -j2teor
If (GNU) Make 3.81 is running processes in parallel using -j2 (or more), it waits until all descendent processes have exited before it returns to the shell. When a command like "make -j2 test-network" is run, this means that test-network.sh apparently hangs until it either make is forcibly terminated, or all the chutney-launched tor processes have exited. A workaround is to use make without -j, or make -j1 if there is an existing alias to "make -jn" in the shell. We resolve this bug in tor by using "chutney stop" after "chutney verify" in test-network.sh.
2014-10-01Add test-network delay optionteor
Add a --delay option to test-network.sh, which configures the delay before the chutney network tests for data transmission. The default remains at 18 seconds if the argument isn't specified. Apparently we should be using bootstrap status for this (eventually). Partially implements ticket 13161.
2014-10-01test-network.sh: Use "/bin/echo -n" rather than builtin echoteor
The default shell on OS X is bash, which has a builtin echo. When called in "sh" mode, this echo does not accept "-n". This patch uses "/bin/echo -n" instead. Partially fixes issue 13161.
2013-09-29test-network.sh: tools dir in PATH, parameterizationJim Pannacciulli
2013-06-18Invoke binaries in $PATH rather than by absolute path.Linus Nordberg
That security measure costs more than it gives. So, keep your PATH sane and we can run this script on more than one system.
2013-06-14Use CHUTNEY_PATH to find Chutney.Linus Nordberg
2013-06-13Add make target test-network running traffic tests in a Chutney network.Linus Nordberg
This implements ticket #8530.