test


Log

Author Commit Date CI Message
Joakim Soderberg 24d64666 2014-01-14T17:53:47 Fix so that old nmake project still builds.
Joakim Soderberg 0ef1d04e 2013-12-17T14:32:07 Get rid of unknown pragma warnings.
Joakim Söderberg 69c3516b 2013-12-17T13:28:23 Get rid of deprecation warnings for OpenSSL on OSX 10.7+
Joakim Soderberg 8f2af50f 2013-12-16T13:45:45 Don't segfault on no found event backend.
Joakim Soderberg 78da644f 2013-12-16T11:35:31 Fix bench_cascade program on Windows.
Joakim Soderberg dbf2b517 2013-12-16T11:26:29 Use evutil_closesocket instead.
Joakim Soderberg 99c1dc32 2013-12-12T18:21:11 More work on adding tests to CMake project
Joakim Soderberg e9fc014c 2013-12-12T16:33:20 Add all tests and benchmarks to CMake project. Also fixed some minor issues with what's built.
Joakim Soderberg e415196a 2013-12-09T18:05:32 Initial CMake commit.
Azat Khuzhin 4dd500cd 2013-10-01T19:54:09 regress_http: add tests for evhttp_connection_get_addr()
Azat Khuzhin 611e28b6 2013-10-01T19:54:57 regress_main: logging all if env EVENT_DEBUG_LOGGING_ALL isset
Nick Mathewson 0a051ef9 2013-09-16T12:29:48 Merge remote-tracking branch 'rosslagerwall/tree-build'
Ross Lagerwall 243386cc 2013-09-15T21:48:15 rpcgen: Generate regress.gen.[c,h] in build rather than src dir Currently an out-of-tree build will either write to the src dir or reuse the existing regress.gen.[c,h]. But if building from a read-only git tree (or if the git dir is cleaned), these files will not exist and the build fails. So write the files to the build dir. If the system does not have python, the regress.gen.[c,h] will be used from the src dir if they exist.
Nick Mathewson e193c959 2013-08-06T19:42:20 test_evutil_rtrim: add another missing check.
Nick Mathewson 82b6956c 2013-08-06T19:39:35 Finalize tests: add a missing check
Nick Mathewson f314900d 2013-08-06T19:38:48 DNS tests: add a missing check
Nick Mathewson 87cd6f01 2013-08-06T19:35:56 Fix some crash-on-fail cases in DNS regression tests Found by coverity.
Nick Mathewson eba4506a 2013-08-06T19:33:45 Add missing check to test_evbuffer_file_segment_add_cleanup_cb
Nick Mathewson 77658846 2013-08-06T19:32:21 Fix a logic error in test_evbuffer_freeze
Nick Mathewson 1104d0be 2013-08-06T19:31:26 Fix a (failure-only) null dereference in the unit tests
Nick Mathewson 7080d55c 2013-08-06T19:28:53 Use void casts to suppress some "unchecked return value" warns
Maxime Henrion fbc323b7 2013-07-31T15:02:07 Add checks for evhttp_connection_get_server() in unit tests. They validate that this function behave as expected; that is, it returns NULL for outgoing connections, and returns the HTTP server object that received the connection for incoming ones.
Mark Ellzey 4b3d5af8 2013-07-11T12:31:39 Add function to fetch underlying ratelimit cfg bufferevent_get_token_bucket_cfg() will return the struct ev_token_bucket_cfg for a bufferevent if available.
Mobai Zhang 0fa107d8 2013-07-02T16:01:02 Added event_base_get_num_events()
Nick Mathewson e1766a1b 2013-05-29T16:26:50 Actually use the log facility for reporting evdns problems. Fixes issue #63. Also refactors the evdns logging and log backend a bit, so that it wastes a little less code.
Azat Khuzhin 7e876df7 2013-05-13T19:50:30 Fix dns/leak_resume_send_err test. Because we don't cancel request, and want our callback to recieve DNS_ERR_SHUTDOWN, we use deferred callback, and there was - one extra malloc(), @see reply_schedule_callback() - and one missing free @see request_finished() (req->handle->pending_cb = 1) than we don't need to count in testleak_cleanup() So just decrement allocated_chunks to 2, like we already take care about it.
Azat Khuzhin 1cd9ff59 2013-05-13T19:20:42 Add tests for evdns_base_resume(). - leak_resume - leak_cancel_and_resume - leak_resume_send_err - leak_cancel_and_resume_send_err
Nick Mathewson 8ab612e3 2013-05-11T22:21:30 Whoops. It is gdi.lib, not gdi32.lib. (github issue #61)
Nick Mathewson 5ba8ab76 2013-05-10T21:38:26 Fix test compilation with nmake: add the gdi.lib dependency ACK: efekty
Nick Mathewson 85a40040 2013-05-01T13:37:57 Add regress_finalize to makefile.nmake
Nick Mathewson 5bc290e2 2013-05-01T10:04:08 Make http/connection_retry off-by-default
Nick Mathewson 9e3a99ca 2013-04-30T20:09:52 Fix a bug in fixing a bug in out-of-tree test-dumpevents
Nick Mathewson b48c7bf8 2013-04-30T14:40:50 Make regress_finalize work with malloc replacement disabled
Nick Mathewson cbfc35f6 2013-04-30T14:26:47 Fix some out-of-tree build bugs
Nick Mathewson 702c9aa4 2013-04-26T19:14:05 Fix a bug in the new main/event_foreach test It wasn't making sure that the events weren't internal.
Nick Mathewson d5967397 2013-04-26T17:51:33 More unit tests for initializing common timeouts. Try with: misformed usecs in inputs, and with initializing common timeouts from other common timeouts.
Nick Mathewson f09629ea 2013-04-26T17:46:33 A test for event_get_assignment()
Nick Mathewson 30ea2910 2013-04-26T17:28:46 Unit tests for event_base_gettimeofday_cached() and event_base_update_cache_time()
Nick Mathewson 0b096efe 2013-04-26T13:50:22 New tests for event_base_foreach_event() Our dump-events code had exercised this a bit, but only via the nonlocking backend. Also, nothing was checking the "Search for a specific event" code.
Nick Mathewson a153874d 2013-04-26T13:49:45 New test for active_later->active transition on event_active When event_active is called, an active_later event is supposed to become active now. We had lacked a test for that.
Nick Mathewson 3555befd 2013-04-26T12:27:05 Merge branch '21_deadlock_fix_v2'
Nick Mathewson 25aac697 2013-04-26T12:00:17 Remove a no-longer-true XXXX comment.
Nick Mathewson 9d893c97 2013-04-09T18:15:08 Add some verbose notes to bufferevent unit tests
Nick Mathewson 8eedeabe 2013-03-28T14:13:19 Implement event_finalize() and related functions to avoid certain deadlocks
Nick Mathewson b1b054f0 2013-04-26T12:12:08 Make all tests pass under EVENT_DEBUG_MODE=1 The fix was easy: the tests that were failing were those tests that also enabled debug mode themselves. So, let them know when EVENT_DEBUG_MODE is on, so they won't do that.
Nick Mathewson b3aca5d9 2013-04-25T15:13:24 Merge branch '21_http_error_cb_squashed'
Azat Khuzhin 54cc8005 2013-03-21T17:01:31 Drop extra header http_struct.h from regress_http.c
Azat Khuzhin 862c217a 2013-03-22T14:35:47 Add test for EVREQ_HTTP_REQUEST_CANCEL into http_cancel_test()
Azat Khuzhin 7b077194 2013-03-21T13:55:40 Add new error_cb for actual reporting of HTTP request errors. It is useful to know why you callback called with NULL (i.e. it failed), for example if you set max_body with evhttp_connection_set_max_body_size() you must know that it failed because of body was longer than this size. (Commit message tweaked by Nick)
Nick Mathewson 1c3147f5 2013-04-10T18:03:16 Add a test with an active_later event at event_base_free time.
Nick Mathewson 2fad0f3d 2013-04-05T15:06:54 Add an environment variable (EVENT_DEBUG_MODE) to run unit tests in debug mode Not all tests currently pass with debug mode on.
Nick Mathewson f935e215 2013-03-15T09:33:28 build test/test-script.sh on systems with a less-featureful $<
Nick Mathewson 787fd748 2013-03-15T09:33:13 Make --disable-libevent-regress work again
Azat Khuzhin 13676535 2013-03-01T12:01:42 Test: decoding just part of string with evhttp_decode_uri_internal()
Patrick Pelletier c9ad3af2 2013-02-25T20:13:01 test filling up the hash table a bit
Patrick Pelletier 2078e9b4 2013-02-14T20:14:37 make sure caching works, and we don't leak memory
Patrick Pelletier 72965126 2013-02-07T17:06:49 a program to print out the error strings for winsock errors
Nick Mathewson 97094614 2013-02-14T14:13:11 Merge remote-tracking branch 'origin/patches-2.0'
Greg Hazel b6182042 2013-02-14T09:54:56 fix #73 and fix http_connection_fail_test to catch it
Nick Mathewson 96150dd0 2013-02-13T11:38:57 Unit test for event_remove_timer with EV_PERSIST. Patch from dcicppin on sourceforge.
Nick Mathewson 74e52db4 2013-02-11T11:25:25 Merge remote-tracking branch 'ppelleti/nmake-clean-exes'
Nick Mathewson 2863c837 2013-02-08T22:10:05 Avoid using $(top_srcdir) in TESTS. Newer automakes don't like this.
Nick Mathewson a55514ee 2013-02-08T22:08:18 Avoid using top_srcdir in TESTS-new automakes do not like this
Patrick Pelletier 974bfa07 2013-02-07T17:14:18 remove all exes on "make clean", not just regress.exe
Nick Mathewson 2ecd8947 2013-02-04T13:49:08 Merge pull request #39 from azat/fix-http-for-ipv6 Fix ipv6 support for http. When URL contain domain, not IP address.
Nicholas Heath 0dda56a4 2013-02-03T19:08:37 Preliminary changes for Minix3.
Azat Khuzhin 9ec88bdf 2013-01-27T02:17:02 Add regress test ipv6_for_domain. Written for commit 71e709c7829275a594f767b27468b1b52e8b5bb9. Fix ipv6 support for http. When URL contain domain, not IP address.
Nick Mathewson c1420690 2012-11-19T09:07:13 Fix a bug when running "make verify" out-of-tree
Nick Mathewson 173d7823 2012-11-18T01:40:33 Fix a gcc warning in rtrim test
Nick Mathewson f38e0788 2012-11-18T01:36:03 Make ssl version check in unit tests work
Nick Mathewson e3b2e086 2012-11-16T16:15:03 Add an event_remove_timer() to remove timer on an event without deleting it
Nick Mathewson 5a9a0141 2012-11-16T16:17:07 Fix a couple of compile warnings in the unit tests
Nick Mathewson c6ff3812 2012-11-16T11:38:53 Remove internal ws from multiline http headers correctly According to RFC2616: All linear white space, including folding, has the same semantics as SP. A recipient MAY replace any linear white space with a single SP before interpreting the field value or forwarding the message downstream.
Nick Mathewson ac425197 2012-11-16T11:29:34 Remove trailing tabs in HTTP headers as well.
Nick Mathewson aa59d805 2012-11-16T11:13:29 Clean up rtrim implementation If I understand the C standard correctly, you can't actually point at a position immediately _before_ the start of an object; only at the position immediately after. According to J.2 in the standard, in its big list of undefined behavior: "The behavior is undefined in the following circumstances: ... — Addition or subtraction of a pointer into, or just beyond, an array object and an integer type produces a result that does not point into, or just beyond, the same array object (6.5.6)." So we've got to fix rtrim to not do that. Also, make it unit tested, and give it an evutil_*_ name.
Nick Mathewson efb644ed 2012-11-16T10:29:37 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: test/rpcgen_wrapper.sh
Nick Mathewson f3009e48 2012-11-16T10:28:19 Make rpcgen_wrapper.sh work on systems without a "python2" binary
Nick Mathewson 4343edf3 2012-11-16T10:17:34 Add a unit test in which an event is created with event_base_once() but never fires
Nick Mathewson 1f5a48d1 2012-11-15T11:45:12 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson ac009f92 2012-11-15T11:43:20 Warn when openssl version in unit test mismatches compiled version.
Nick Mathewson c2f30863 2012-11-15T11:42:14 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.
Nick Mathewson 1d9d5110 2012-11-15T11:40:33 Use the same CFLAGS for openssl when building unit tests as with libevent
Nick Mathewson 64051b90 2012-11-06T17:42:46 Clean up unit test for evbuffer_file_segment_add_cleanup_cb a little
yangacer e9f8feba 2012-11-06T17:37:28 Add a new callback to get called on evbuffer_file_segment free
Nick Mathewson 56e48c10 2012-11-02T10:58:02 Fix a few mingw64 incompatibilities introduced since 2.0
Nick Mathewson 2e6a9850 2012-11-01T18:12:07 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
Nick Mathewson 94866c27 2012-11-01T17:38:34 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.
Ross Lagerwall 4b5f32a5 2012-10-23T13:26:44 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.
Nick Mathewson 1e3123da 2012-08-28T16:15:14 Fix handling of no-python case for nonrecursive make
Nick Mathewson 607a8ff9 2012-08-28T16:14:38 Be quiet when making regress.gen.[ch]
Nick Mathewson 371a1237 2012-08-28T16:07:56 Make quiet build even quieter
Nick Mathewson 6cdfeebe 2012-08-28T16:01:14 Rename subordinate Makefile.ams to include.am
Nick Mathewson 7092f3b6 2012-08-28T15:58:18 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.
Nick Mathewson 07e132e3 2012-08-23T10:46:29 Rename event_enable_lock_debuging() to ..._debugging() Keep the misspelled version around for backward compatibility Based on a patch by Diwaker Gupta.
Nick Mathewson f1bd9388 2012-08-02T15:02:27 Avoid test -e; older shs don't have one. Reported by Paul Croome. Report forwarded by Dave Hart.
Nick Mathewson 34c8f316 2012-08-02T12:36:05 Add deferred_cb_skew to list of timing-dependent tests
Nick Mathewson 403b0d6e 2012-07-31T12:03:48 Merge remote-tracking branch 'ppelleti/windows-ssl'
Nick Mathewson 9852107f 2012-07-26T10:43:13 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: buffer.c http.c
Nick Mathewson a2006c00 2012-07-26T10:37:47 Move assignment outside tt_assert in ssl unit tests. Appeases coverity.
Nick Mathewson b9e73297 2012-07-26T10:37:13 Add checks to various return values in unit tests. Found by coverity