summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | | | | | Revise "sufficient exit nodes" check to work with restrictive ExitNodesNick Mathewson2012-03-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you set ExitNodes so that only 1 exit node is accepted, the previous patch would have made you unable to build circuits.
* | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2012-03-09
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/routerlist.c
| * | | | | | | | Merge branch 'bug5343' into maint-0.2.2Nick Mathewson2012-03-09
| |\ \ \ \ \ \ \ \
| | * | | | | | | | Require a threshold of exit nodes before building circuitsNick Mathewson2012-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This mitigates an attack proposed by wanoskarnet, in which all of a client's bridges collude to restrict the exit nodes that the client knows about. Fixes bug 5343.
* | | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2012-03-09
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | | | | / / | |_|_|_|_|_|_|/ / |/| | | | | | | |
| * | | | | | | | Oops; credit bug5090 patch to flupzor. estebanm only found the bug.Nick Mathewson2012-03-09
| | | | | | | | |
| * | | | | | | | Correctly handle broken escape sequences in torrc valuesNick Mathewson2012-03-09
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, malformatted torrc values could crash us. Patch by Esteban Manchado. Fixes bug 5090; fix on 0.2.0.16-alpha.
* | | | | | | | changes file for extra-tests branchNick Mathewson2012-03-08
| | | | | | | |
* | | | | | | | Disable some tor_sscanf tests that gcc says are illegal formatsNick Mathewson2012-03-08
| | | | | | | |
* | | | | | | | Fix new strcmp_opt/len tests on OSs where strcmp() can return values >1 or <-1Nick Mathewson2012-03-08
| | | | | | | |
* | | | | | | | Add unit tests for path_is_relativeEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Some more corner cases for tor_sscanfEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | expand_filename tests for trailing slash in $HOMEEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Add some tests for expand_filenameEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Add two small tests for tor_sscanfEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Add test for broken escapes in parse_config_...Esteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Add some unit tests for parse_iso_timeEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Add tests for string_is_C_identifierEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Improve coverage in string-related unit testsEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Improve coverage in time-related unit testsEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Remove unreliable assertionEsteban Manchado Velázquez2012-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * This assertion fails when executing the whole suite, but not when executing this test by itself * Ideally I'd prefer starting with a guaranteed empty directory, but it's not very important in this case as non-existence of other paths is being checked explicitly
* | | | | | | | Add extra tests for wrap_stringEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Add extra tests for get_parent_directoryEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Tweak test case text so it's clearerEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Improve eat_whitespace* unit testsEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Put expected first in n_bits_set_u8 unit testsEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Improve tor_split_lines unit testsEsteban Manchado Velázquez2012-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add some more test cases * Switch to test_assert et al
* | | | | | | | Use test_streq in join_win_cmdline unit testsEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Use test_eq et al in spawn_background unit testsEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Use test_streq in format_helper_exit_status testsEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Improve get_parent_directory unit testsEsteban Manchado Velázquez2012-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add more test cases to the get_parent_directory tests * Switch the parameter order so that the expected value is the first one
* | | | | | | | Improve listdir unit testsEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Improve a bit asprintf unit testsEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Rewrite the find_str_at_start_of_line unit testsEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Improve/extend strtok_r unit testsEsteban Manchado Velázquez2012-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add several failing tests (embedded in an "#if 0" block) for behaviour that doesn't match strtok_r * Add another, passing, more interesting test * Use test_eq_ptr(NULL, ...) instead of test_assert(NULL == ...)
* | | | | | | | Improve tor_sscanf testsEsteban Manchado Velázquez2012-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add many new test cases, tweak/improve existing ones, reorganize them a bit * Switch the parameters in all test_eq calls so the expected value is the first * Change all the "r = tor_sscanf(...);\ntest_eq(1, r)" to the more compact "test_eq(1, tor_sscanf(...))". It may be a tiny bit harder to find the tor_sscanf calls (it's the long lines anyway), but it saves a lot of lines, which should help readability.
* | | | | | | | Small fix in tor_sscanf documentationEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Improve test case for read_escaped_data unit testEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Trivial readability changes in mmap unit testsEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Clean up and improve gzip unit testsEsteban Manchado Velázquez2012-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Switch some test_eq parameters so the expected is always the first parameter * Drop some manual checks of compressed format magic numbers (they're pointless and they make the unit tests less readable and more fragile, considering we're already indirectly checking those magic numbers via the detect_compression_method function) * Add a couple of extra assertions
* | | | | | | | Add/improve the rest of the strmisc testsEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Improve tor_snprintf testsEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Add/improve tests for str{,case}cmp{start,end}Esteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Add more/better tests in test_util_strmiscEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Trivial cosmetic fix in test commentsEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Organize test_util_time in blocksEsteban Manchado Velázquez2012-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Separate the tests for different functions with a comment * Move some test init code further down, closer to where it was actually being used
* | | | | | | | Add test for comments in the config parserEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Remove duplicated macro definitionEsteban Manchado Velázquez2012-03-08
| | | | | | | |
* | | | | | | | Add test for broken hex parsingEsteban Manchado Velázquez2012-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The test currently fails, but it's commented out (with an "#if 0") * As a broken octal actually gives a parse error, it seems fair that this fails, too
* | | | | | | | Fix typo in config parser documentationEsteban Manchado Velázquez2012-03-08
| | | | | | | |