- 08 Mar, 2017 2 commits
-
- 02 Mar, 2017 2 commits
- 28 Feb, 2017 1 commit
-
- 20 Feb, 2017 1 commit
-
-
anonym authored
-
- 25 Jan, 2017 1 commit
-
-
anonym authored
It will run an arbitrary shell command when pause() is called, e.g. on failure when --interactive-debugging is used. This is pretty useful when multitasking with long test suite runs, so you immediately are notified when a test fails (or when you reached a temporary pause() breakpoint). Will-fix: #12175
-
- 17 Nov, 2016 2 commits
- 02 Nov, 2016 1 commit
-
-
anonym authored
For now, let's just focus on remote shell timeouts, and for that let's be really sure we only catch *remote shell* timeouts, and not try_for() timeouts thrown from "outside" when wrapping around remote shell usage.
-
- 01 Nov, 2016 1 commit
-
-
anonym authored
... after 20 minutes, by default, and it is no coincidence that it is distinctly lower than our Jenkins' setup's timeout. For commands that may require longer timeout (or none) there's an option.
-
- 31 Oct, 2016 1 commit
-
-
anonym authored
Most terminal emulators will send a notification of some sort when and ASCII bell is received, which is pretty helpful for --pause-on-fail, and if you add temporary pause():es while debugging.
-
- 29 Aug, 2016 1 commit
-
-
anonym authored
Just like in try_for().
-
- 28 Aug, 2016 1 commit
-
-
anonym authored
-
- 22 Apr, 2016 1 commit
-
-
anonym authored
See the large comment added in this commit for details.
-
- 20 Apr, 2016 2 commits
-
-
anonym authored
The old design was very inflexible, which over time lead to the implementation growing messy as different checks were added. The issue was that it had to hard-code the particular checks we wanted, and did not allow the user to formulate an expression for which packets are considered leaks or not. So, let's instead provide an assertion-like function to which the user passes a block describing how we want all our packets to look. Furthermore, now all firewall leak tests should be ok with the simulated Tor network provided by Chutney. Since all Tor nodes (incl. bridges) run from the same host (and IP address) we also include the server port when verifying that no unexpected hosts were contacted. Note that in some cases we've lost a bit of information and precision, e.g. among the anti-tests we no longer exactly match the protocol that was leaked, but that wasn't very valuable to begin with, and instead we test *exactly* the code that these are anti tests for -- a true anti test, indeed! Also, the 'no traffic has flowed to the LAN' (now renamed) had a serious bug which was fixed in passing -- the `@lan_host` variable was not set, so it is `nil`, which could never be among the IPv4 TCP leaks, so that step always succeeded! :S
- 15 Apr, 2016 1 commit
-
-
anonym authored
... provided by Chutney (https://gitweb.torproject.org/chutney.git). This is enabled iff the local configuration contains something like: Chutney: src_dir: "/path/to/chutney-src-tree" otherwise we'll use the real Tor network as we done previously. The main motivation here is improved robustness -- since the "Tor network" we now use will exit from the host running the automated test suite, we won't have to deal with Tor network blocking. Performance should also be improved. Will-fix: #9521
-
- 07 Dec, 2015 2 commits
- 17 Nov, 2015 1 commit
-
-
intrigeri authored
Test suite: use the Journal instead of the deprecated /var/log/syslog to extract debugging information about restart-tor.
-
- 28 Oct, 2015 1 commit
-
-
anonym authored
-
- 26 Oct, 2015 1 commit
-
-
kytv authored
-
- 13 Oct, 2015 1 commit
-
-
anonym authored
We do this elsewhere (outside of the automated test suite), so let's be consistent.
-
- 06 Oct, 2015 3 commits
-
-
anonym authored
- 04 Oct, 2015 1 commit
-
-
kytv authored
-
- 03 Oct, 2015 1 commit
-
-
kytv authored
This will help troubleshoot those instances in which Tor may not bootstrap within the time we wait (currently 270 seconds).
-
- 25 Sep, 2015 1 commit
-
-
anonym authored
Some details can be gleamed from: * http://www.jonathanleighton.com/articles/2012/stop-test-unit-autorun/ * https://stackoverflow.com/questions/15572257/how-to-stop-rspec-from-running-test-unit-at-the-end
-
- 21 Sep, 2015 3 commits
- 10 Sep, 2015 1 commit
-
-
kytv authored
-
- 09 Sep, 2015 1 commit
-
-
anonym authored
There's some code simplification too, and the removal of the @new_circuit_tries counter, which is all over the place and is a bit hard to keep track of. Also for the wget/whois test we do not try to detect if Tor was the problem and only force a new circuit (and hence count it as a retry), since that could lead to an infinite loop. With the new helper, we always do MAX_NEW_TOR_CIRCUIT_RETRIES number of retries.
-
- 07 Sep, 2015 1 commit
-
-
anonym authored
-
- 16 May, 2015 1 commit
-
-
anonym authored
-
- 29 Apr, 2015 2 commits
- 17 Apr, 2015 1 commit
-
-
anonym authored
That means all but those where we rely on the shell, e.g. when we dot-include a file and chain a command with ; or && like this: . path/to/config; echo $var_in_config
-