Nick Mathewson
b23a0465f1
Fix implicit overflow in rendcache tests
2015-10-07 14:29:14 -04:00
Nick Mathewson
5a5112f701
Fix "make check-spaces"
2015-10-07 09:34:02 -04:00
Nick Mathewson
cec2bc435e
Merge remote-tracking branch 'twstrike/procmon_tests'
...
Conflicts:
src/test/include.am
src/test/log_test_helpers.c
src/test/log_test_helpers.h
2015-10-07 09:32:51 -04:00
Nick Mathewson
f179abdca9
Merge remote-tracking branch 'twstrike/rendcache_tests'
...
Conflicts:
src/test/include.am
src/test/rend_test_helpers.c
src/test/rend_test_helpers.h
2015-10-06 11:32:06 -04:00
Nick Mathewson
2592d537f9
Merge remote-tracking branch 'twstrike/util_format_tests'
...
Conflicts:
src/test/test_util_format.c
2015-10-06 11:20:33 -04:00
Nick Mathewson
20ec030d9b
Fix compilation with openssl 1.1 by forcibly disabling some tests
...
Some of these tests can be ported to work with openssl 1.1, but
probably some can't.
2015-10-06 09:59:47 -04:00
Nick Mathewson
94669c829c
Allow case-insensitive match in test_tortls_debug_state_callback
2015-10-06 09:40:56 -04:00
Nick Mathewson
bfd9dccdb8
Merge remote-tracking branch 'origin/maint-0.2.7'
2015-10-06 09:06:57 -04:00
Nick Mathewson
f7ce93d979
Fix 17251: avoid integer overflow in test_crypto_slow
2015-10-06 08:58:03 -04:00
Ola Bini
70de8d4bf8
Fix spaces and other smaller issues
2015-10-05 14:31:10 -05:00
Ola Bini
ca927b7f63
Fix spaces
2015-10-05 13:42:43 -05:00
Ola Bini
be7ef94a7d
Fix compiling under gcc warnings to errors
2015-10-05 13:41:00 -05:00
Ola Bini
b54133fbd9
Fix spaces warnings
2015-10-03 18:46:40 -05:00
Ola Bini
d0abf16119
Actually test success cases as well
2015-10-03 18:37:29 -05:00
Nick Mathewson
3c67823957
Perhaps this is the permutation of headers that will please everything
2015-10-02 18:44:55 +02:00
Nick Mathewson
b31cdf4ad6
Try to fix mingw build.
2015-10-02 18:31:43 +02:00
Nick Mathewson
561d4136ac
These logs seem openssl-version-dependent
2015-10-02 17:56:10 +02:00
Nick Mathewson
0ead9a58b9
Avoid warnings in tortls.h includes
2015-10-02 15:57:33 +02:00
Nick Mathewson
5d5d26ccee
Fix a 32-bit error from jenkins
2015-10-02 15:39:08 +02:00
Nick Mathewson
578830ad30
Fix "make distcheck"
2015-10-02 15:36:59 +02:00
Nick Mathewson
92c436ccbc
Fix warnings.
2015-10-02 15:12:04 +02:00
Nick Mathewson
21c201202e
Merge remote-tracking branch 'twstrike/dir-handle-cmd-get'
2015-10-02 15:04:28 +02:00
Nick Mathewson
b5aa257d46
Fix "make check-spaces"
2015-10-02 14:33:54 +02:00
Nick Mathewson
39901bd408
Make test_tortls compile without warnings
2015-10-02 14:20:28 +02:00
Nick Mathewson
086c33ea61
Merge remote-tracking branch 'twstrike/tortls_tests'
2015-10-02 14:12:27 +02:00
Nick Mathewson
488e9a0502
Merge remote-tracking branch 'teor/routerset-parse-IPv6-literals'
...
(Minor conflicts)
2015-10-02 13:54:20 +02:00
Nick Mathewson
0d44679d3b
Fix a test failure
2015-10-02 13:47:08 +02:00
Nick Mathewson
0b3190d4b7
Merge remote-tracking branch 'donncha/feature14846_4'
2015-10-02 13:40:26 +02:00
Nick Mathewson
0e03a0421e
Fix check-spaces complaints
2015-10-02 13:22:00 +02:00
Nick Mathewson
46f2682ff3
new headers must get distributed
2015-10-02 13:15:20 +02:00
Nick Mathewson
ac8c5ec67a
Clean up compat_libevent tests
2015-10-02 13:13:58 +02:00
Nick Mathewson
c01f9d9ffe
Fix style and compilation in log_test_helpers
2015-10-02 13:03:43 +02:00
Nick Mathewson
f774813129
Merge remote-tracking branch 'twstrike/compat_libevent_tests'
2015-10-02 12:56:37 +02:00
Nick Mathewson
39eb075c20
Give test_util_format some succeeding test cases
2015-10-02 12:52:35 +02:00
Nick Mathewson
144a0cb704
Add notes and whitespace fixes to test_util_format
2015-10-02 12:44:35 +02:00
Nick Mathewson
3321e4a025
Merge remote-tracking branch 'twstrike/util_format_tests'
2015-10-02 12:40:30 +02:00
Nick Mathewson
d4212d581a
fix compilation; mark test fns static
2015-09-29 13:50:52 +02:00
teor (Tim Wilson-Brown)
7fa102b487
Add checks and unit tests for get_interface_address* failure
...
Ensure that either a valid address is returned in address pointers,
or that the address data is zeroed on error.
Ensure that free_interface_address6_list handles NULL lists.
Add unit tests for get_interface_address* failure cases.
Fixes bug #17173 .
Patch by fk/teor, not in any released version of tor.
2015-09-29 10:17:05 +02:00
Marcin Cieślak
5c95762ec6
Skip tests if backtrace support not compiled-in
...
FreeBSD needs -lexecinfo to fully support
backtrace reporting.
2015-09-29 10:04:14 +02:00
Nick Mathewson
7b1d2726e4
Add test-network.sh to EXTRA_DIST
2015-09-24 19:38:50 -04:00
Nick Mathewson
4b2ae5a16b
Include some content when exporting abs_top_srcdir and builddir
...
FreeBSD make demands this.
2015-09-24 17:06:49 -04:00
Nick Mathewson
85b65bf29f
Add more quotes in the test scripts
2015-09-24 15:25:53 -04:00
Nick Mathewson
eb2188168e
Stop trying to generate test scripts via autoconf substitution.
...
Use environment variables instead. This repairs 'make distcheck',
which was running into trouble when it tried to chmod the generated
scripts.
Fixes 17148.
2015-09-24 15:07:39 -04:00
Nick Mathewson
01733e2b15
New AuthDirPinKeys option to enable/disable keypinning enforcement
...
Implements ticket #17135 . We're going to need this one to avoid
chaos as everybody figures out how ed25519 keys work.
2015-09-23 11:22:26 -04:00
Nick Mathewson
c5e87e33c7
Allow conflicts to occur in keypinning journal
...
When we find a conflict in the keypinning journal, treat the new
entry as superseding all old entries that overlap either of its
keys.
Also add a (not-yet-used) configuration option to disable keypinning
enforcement.
2015-09-23 11:02:21 -04:00
teor (Tim Wilson-Brown)
a659a3fced
Merge branch 'bug17027-reject-private-all-interfaces-v2' into bug16069-bug17027
...
src/test/test_policy.c:
Merged calls to policies_parse_exit_policy by adding additional arguments.
fixup to remaining instance of ~EXIT_POLICY_IPV6_ENABLED.
Compacting logic test now produces previous list length of 4, corrected this.
src/config/torrc.sample.in:
src/config/torrc.minimal.in-staging:
Merged torrc modification dates in favour of latest.
2015-09-16 09:09:54 +10:00
teor (Tim Wilson-Brown)
098b82c7b2
ExitPolicyRejectPrivate rejects local IPv6 address and interface addresses
...
ExitPolicyRejectPrivate now rejects more local addresses by default:
* the relay's published IPv6 address (if any), and
* any publicly routable IPv4 or IPv6 addresses on any local interfaces.
This resolves a security issue for IPv6 Exits and multihomed Exits that
trust connections originating from localhost.
Resolves ticket 17027. Patch by "teor".
Patch on 42b8fb5a15
(11 Nov 2007), released in 0.2.0.11-alpha.
2015-09-16 02:56:50 +10:00
Reinaldo de Souza Jr
4ff08bb581
Add tests for directory_handle_command_get
2015-09-15 11:08:50 -05:00
Ola Bini
b4950c9334
Add tests for procmon. These currently fail. Investigation should happen before submitting
2015-09-15 17:56:56 +02:00
Ola Bini
28370fe77f
Add tests for util_format
2015-09-15 17:40:16 +02:00