Nick Mathewson
efb644ed87
Merge remote-tracking branch 'origin/patches-2.0'
...
Conflicts:
test/rpcgen_wrapper.sh
2012-11-16 10:29:37 -05:00
Nick Mathewson
f3009e48c7
Make rpcgen_wrapper.sh work on systems without a "python2" binary
2012-11-16 10:28:19 -05:00
Nick Mathewson
4343edf3c6
Add a unit test in which an event is created with event_base_once() but never fires
2012-11-16 10:17:34 -05:00
Nick Mathewson
1f5a48d1d0
Merge remote-tracking branch 'origin/patches-2.0'
2012-11-15 11:45:12 -05:00
Nick Mathewson
ac009f9245
Warn when openssl version in unit test mismatches compiled version.
2012-11-15 11:43:45 -05:00
Nick Mathewson
c2f30863e2
Fix renegotiation test to work around openssl 1.0.1 bug
...
There's a bug in openssl 1.0.1 where TLS1.1 and TLS1.2 can't
renegotiate with themselves. When testing renegotiation with OpenSSL
>=1.0.1 and <1.0.1d, disable those protocols.
2012-11-15 11:43:45 -05:00
Nick Mathewson
1d9d5110a4
Use the same CFLAGS for openssl when building unit tests as with libevent
2012-11-15 11:41:36 -05:00
Nick Mathewson
64051b903a
Clean up unit test for evbuffer_file_segment_add_cleanup_cb a little
2012-11-06 17:42:54 -05:00
yangacer
e9f8febace
Add a new callback to get called on evbuffer_file_segment free
2012-11-06 17:42:54 -05:00
Nick Mathewson
56e48c1019
Fix a few mingw64 incompatibilities introduced since 2.0
2012-11-02 10:58:02 -04:00
Nick Mathewson
2e6a985003
Merge remote-tracking branch 'github/20_win64_compilation' into 21_win64_compilation
...
Conflicts:
event.c
http.c
sample/event-read-fifo.c
test/regress_bufferevent.c
2012-11-01 18:12:07 -04:00
Nick Mathewson
94866c2763
Compile without warnings on mingw64
...
This is mostly a matter of catching cases where we were still
assuming that evutil_socket_t could be used as an int.
2012-11-01 17:56:06 -04:00
Ross Lagerwall
4b5f32a59e
Use python2 rather than python
...
python may refer to either python2 or python3 so rather by explicit by
using python2.
See PEP 394 - http://www.python.org/dev/peps/pep-0394/ for more
details.
2012-10-23 13:26:44 +01:00
Nick Mathewson
1e3123dae1
Fix handling of no-python case for nonrecursive make
2012-08-28 16:15:14 -04:00
Nick Mathewson
607a8ff9df
Be quiet when making regress.gen.[ch]
2012-08-28 16:14:38 -04:00
Nick Mathewson
371a1237d0
Make quiet build even quieter
2012-08-28 16:07:56 -04:00
Nick Mathewson
6cdfeebebc
Rename subordinate Makefile.ams to include.am
2012-08-28 16:01:14 -04:00
Nick Mathewson
7092f3b677
Switch to non-recursive makefiles
...
This approach should let Make work better, let libevent build faster
(especially when using a parallelized build), and basically make the
Makefiles easier to maintain.
See http://miller.emu.id.au/pmiller/books/rmch/ for more info on why
you'd want to do this.
This is due to an idea from Zack Weinberg; the patch is my own.
2012-08-28 15:58:18 -04:00
Nick Mathewson
07e132e3ad
Rename event_enable_lock_debuging() to ..._debugging()
...
Keep the misspelled version around for backward compatibility
Based on a patch by Diwaker Gupta.
2012-08-23 10:46:29 -04:00
Nick Mathewson
f1bd9388a9
Avoid test -e; older shs don't have one.
...
Reported by Paul Croome.
Report forwarded by Dave Hart.
2012-08-02 15:02:27 -04:00
Nick Mathewson
34c8f31650
Add deferred_cb_skew to list of timing-dependent tests
2012-08-02 12:36:05 -04:00
Nick Mathewson
403b0d6e02
Merge remote-tracking branch 'ppelleti/windows-ssl'
2012-07-31 12:03:48 -04:00
Nick Mathewson
9852107f37
Merge remote-tracking branch 'origin/patches-2.0'
...
Conflicts:
buffer.c
http.c
2012-07-26 10:43:13 -04:00
Nick Mathewson
a2006c0087
Move assignment outside tt_assert in ssl unit tests. Appeases coverity.
2012-07-26 10:37:47 -04:00
Nick Mathewson
b9e7329751
Add checks to various return values in unit tests. Found by coverity
2012-07-26 10:37:13 -04:00
Nick Mathewson
6355b2a4ca
Remove unused variable; spotted by coverity
2012-07-26 10:16:47 -04:00
Nick Mathewson
225344cfac
Fix a shadowed variable in addfile_test_readcb; found by coverity
2012-07-26 10:11:17 -04:00
Nick Mathewson
92817a11aa
Avoid memory leak in test_event_calloc unit test; found by coverity
2012-07-26 10:11:00 -04:00
Nick Mathewson
aa501e1a7e
Add checks for functions in test-ratelim.c; found by Coverity
2012-07-26 10:10:35 -04:00
Nick Mathewson
7ef04e4b48
Merge remote-tracking branch 'origin/patches-2.0'
...
Conflicts:
configure.in
test/regress_buffer.c
test/regress_dns.c
2012-07-26 10:09:13 -04:00
Nick Mathewson
3cde5bf57a
Avoid more crashes/bad calls in unit tests; found by coverity
2012-07-26 10:04:43 -04:00
Nick Mathewson
f021c3d762
Add some missing null checks to unit tests; found by coverity
2012-07-26 09:59:47 -04:00
Nick Mathewson
270f279fb5
Fix resource leaks in the unit tests; found by coverity
2012-07-26 09:53:20 -04:00
Nick Mathewson
4f3732d75e
Fix various check-after-dereference issues in unit tests: found by coverity
2012-07-26 09:35:43 -04:00
Nick Mathewson
f1ce15d936
Set umask before calling mkstemp in unit tests. Found by coverity
2012-07-25 16:18:33 -04:00
Nick Mathewson
13525c50eb
Fix another possible uninitialized read in dns regression tests. Found by coverity.
2012-07-25 16:07:22 -04:00
Nick Mathewson
6fdbf3a2bc
Merge remote-tracking branch 'origin/patches-2.0'
2012-07-25 16:06:51 -04:00
Nick Mathewson
2259777cc8
Fix possible uninitialized read in dns regression tests. Found by coverity.
2012-07-25 16:05:36 -04:00
Nick Mathewson
555334670a
Remove deadcode in http regression tests. Found by coverity.
2012-07-25 15:59:50 -04:00
Nick Mathewson
52a0039ba1
Fix tinytset_skip to work with new tinytest_set_flag_ signature
2012-07-20 15:36:15 -04:00
Patrick Pelletier
eba0eb2e71
attempt to support OpenSSL in Makefile.nmake
2012-07-03 22:50:24 -07:00
Nick Mathewson
2b6fe8bb7f
Make load-dependent monotonic timer tests off-by-default
...
You can reenable them with @all, or say @fine_timing just to get
them.
2012-06-29 12:47:51 -04:00
Nick Mathewson
5671033752
Avoid (unlikely) overflow in bench_httpclient.c
2012-06-29 12:47:39 -04:00
Nick Mathewson
c8009d2985
Check return value of write() in regress.c
2012-06-29 12:47:03 -04:00
Nick Mathewson
f2cea873bb
Make all tests that hit the network disabled by default
...
To run only these tests, run test/regress with @live_net. To run all
tests, run test/regress with @all.
2012-06-28 13:18:28 -04:00
Nick Mathewson
ef7c4f7956
Update to latest tinytest (911b4f0349377)
2012-06-28 12:58:46 -04:00
Nick Mathewson
def3b83419
Make test_evutil_monotonic a little more tolerant
2012-06-28 12:57:58 -04:00
Nick Mathewson
108896abcc
Merge branch 'master' of ssh://github.com/libevent/libevent
2012-06-28 11:42:25 -04:00
Nick Mathewson
e2d7d98d9d
remove a now-unused var in thread_deferred_cb_skew test
2012-06-28 11:37:45 -04:00
Nick Mathewson
8a739b3492
Merge branch '21_event_callback_v3'
2012-06-28 11:36:52 -04:00