History log of /libevent-2.1.12/test/test-time.c (Results 1 – 23 of 23)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release-2.2.1-alpha, release-2.1.12-stable
# e41a1969 01-Mar-2020 Azat Khuzhin <[email protected]>

test-time: do not use deprecated API

- event_init() -> event_base_new()
- event_set() -> event_new()
- check return value of event_base_dispatch()
- use EXIT_SUCCESS/EXIT_FAILURE

(cherry picked fro

test-time: do not use deprecated API

- event_init() -> event_base_new()
- event_set() -> event_new()
- check return value of event_base_dispatch()
- use EXIT_SUCCESS/EXIT_FAILURE

(cherry picked from commit 4e5a41ca0f668da1a18832e5cb02b4afeae074ff)

show more ...


# 29e2c7f2 01-Mar-2020 Azat Khuzhin <[email protected]>

test-time: enable debug mode if EVENT_DEBUG_LOGGING_ALL env set

(cherry picked from commit a11edbfa369f7a99886359b3f4baa69686dc275f)


# ec52e6af 06-Aug-2019 dota17 <[email protected]>

Fix typos in comments (sample/test/event-internal.h)

(cherry picked from commit 9c151f3c3413c5ee6bad498aca84be481196bbc7)


Revision tags: release-2.1.11-stable, release-2.1.10-stable, release-2.1.9-beta, release-2.0.23-beta, release-2.1.8-stable
# 336f3b11 06-Dec-2016 Azat Khuzhin <[email protected]>

Fix _FILE_OFFSET_BITS redinition (solaris/autotools)

So firstly include our header (config.h) -- <evconfig-private.h>, and
only after it <sys/types.h> since latest has #ifdef guard, while our
config

Fix _FILE_OFFSET_BITS redinition (solaris/autotools)

So firstly include our header (config.h) -- <evconfig-private.h>, and
only after it <sys/types.h> since latest has #ifdef guard, while our
config.h is not inteded for this.

And besides all this thing with LARGE_FILE is a abit awkward, since we
don't nefine _LP64/_LP32 anyway, and so we have next error actually (64bit VS
32bit):
==> solaris: In file included from ./util-internal.h:30:0,
==> solaris: from test/regress_ssl.c:49:
==> solaris: ./evconfig-private.h:29:0: warning: "_FILE_OFFSET_BITS" redefined
==> solaris: #define _FILE_OFFSET_BITS 64
==> solaris: ^
==> solaris: In file included from /usr/include/sys/types.h:17:0,
==> solaris: from test/regress_ssl.c:38:
==> solaris: /opt/csw/lib/gcc/i386-pc-solaris2.10/5.2.0/include-fixed/sys/feature_tests.h:196:0: note: this is the location of the previous definition
==> solaris: #define _FILE_OFFSET_BITS 32
==> solaris: ^

For cmake it commented in: 8b228e27f57300be61b57a41a2ec8666b726dc34
("Lot's of cmake updates")

show more ...


Revision tags: release-2.1.7-rc, release-2.1.6-beta, release-2.0.22-stable, release-1.4.15-stable, release-2.1.5-beta
# cb737041 15-Dec-2014 Nick Mathewson <[email protected]>

Fix annoying heisenbug in test-time.c


# 364c1106 18-Sep-2014 Nick Mathewson <[email protected]>

Fix for a677b72bd6d9d378daf9775966aa8ca574e26e67


# a677b72b 18-Sep-2014 Nick Mathewson <[email protected]>

Use evutil_weakrand() in unit tests.

(Coverity doesn't like random() or rand(). We don't care; this is
for unit tests.)

Fixes CID 1239298, 1239296, 1239295, 1239293.


Revision tags: release-2.1.4-alpha, release-2.1.3-alpha, release-2.1.2-alpha, release-2.0.21-stable
# 94866c27 01-Nov-2012 Nick Mathewson <[email protected]>

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.


Revision tags: release-2.0.20-stable, release-2.0.19-stable, release-2.1.1-alpha, release-2.0.18-stable, release-2.0.17-stable
# e49e2891 10-Feb-2012 Nick Mathewson <[email protected]>

Update copyright notices to 2012


Revision tags: release-2.0.16-stable, release-2.0.15-stable, release-2.0.14-stable, release-2.0.13-stable, release-2.0.12-stable
# 9f560bfa 25-May-2011 Nick Mathewson <[email protected]>

Use "_WIN32", not WIN32: it's standard and we don't need to fake it

This patch was automatically generated with perl.

Based on a patch by Peter Rosin.


Revision tags: release-2.0.11-stable, release-2.0.10-stable
# c0bf63ce 02-Dec-2010 Evan Jones <[email protected]>

tests: Use relative includes ("") instead of system includes (<>)


Revision tags: release-2.0.9-rc, release-2.0.8-rc, release-2.0.7-rc, release-2.0.6-rc
# ec347b92 07-Jul-2010 Nick Mathewson <[email protected]>

Move event-config.h to include/event2

This change means that all required include files are in event2, and
all files not in event2/* are optional.


Revision tags: release-1.4.14b-stable, release-1.4.14-stable, release-2.0.5-beta
# 0ee6f6ce 08-May-2010 Nick Mathewson <[email protected]>

Make test.sh support mingw/msys on win32

This required:
- Adding another WIN32 section in test.sh
- not running "touch /dev/null"
- calling WSAStartup in all the test binaries
- Fixing a

Make test.sh support mingw/msys on win32

This required:
- Adding another WIN32 section in test.sh
- not running "touch /dev/null"
- calling WSAStartup in all the test binaries
- Fixing a dumb windows-only bug in test-time.c

show more ...


# c7cf6f00 05-Mar-2010 Nick Mathewson <[email protected]>

Replace users of "int fd" with "evutil_socket_t fd" in portable code

Remeber, win32 has a socket type that's actually a handle, so if
there's a chance that code is run on win32, we can't use "int" a

Replace users of "int fd" with "evutil_socket_t fd" in portable code

Remeber, win32 has a socket type that's actually a handle, so if
there's a chance that code is run on win32, we can't use "int" as the
socket type.

This isn't a blind search-and-replace: sometimes an fd is really in
fact for a file, and not a socket at all.

show more ...


Revision tags: release-2.0.4-alpha
# 4faeaea9 19-Feb-2010 Nick Mathewson <[email protected]>

Clean up formatting: function/keyword spacing consistency.

- Keywords always have a space before a paren. Functions never do.

- No more than 3 blank lines in a row.


Revision tags: release-2.0.3-alpha, release-1.4.13-stable
# 784b8773 06-Nov-2009 Nick Mathewson <[email protected]>

We do not work any more without an event-config.h; stop pretending that it is meaningful to check for HAVE_CONFIG_H

svn:r1516


# 25a5e681 05-Nov-2009 Nick Mathewson <[email protected]>

Build fixes for MSVC

svn:r1506


Revision tags: release-2.0.2-alpha@1379, release-1.4.12-stable, release-1.4.11-stable, release-2.0.1-alpha, release-1.4.10-stable
# 8889a770 27-Jan-2009 Nick Mathewson <[email protected]>

Replace all use of config.h with event-config.h.

svn:r1064


Revision tags: release-1.4.9-stable, release-1.4.8-stable, release-1.4.7-stable, release-1.4.6, release-1.4.5-stable, release-1.4.4-stable
# 4e8a339e 05-May-2008 Nick Mathewson <[email protected]>

r19602@catbus: nickm | 2008-05-05 11:45:18 -0400
Make most of the tests use the new headers.


svn:r776


Revision tags: release-1.4.3-stable, release-1.4.2-rc, release-1.4.1-beta
# ce4ee418 26-Nov-2007 Nick Mathewson <[email protected]>

r16733@catbus: nickm | 2007-11-26 14:18:25 -0500
Add an --enable-gcc-warnings option (lifted from Tor) to the configure script. When provided, and when we are using GCC, we enable a bunch of extra

r16733@catbus: nickm | 2007-11-26 14:18:25 -0500
Add an --enable-gcc-warnings option (lifted from Tor) to the configure script. When provided, and when we are using GCC, we enable a bunch of extra GCC warnings in the compiler. Also, make the code all build happily with these warnings.


svn:r553

show more ...


Revision tags: release-1.4.0-beta
# 1e1f77c5 20-Sep-2007 Nick Mathewson <[email protected]>

Make the test/ subdirectory buildable under Windows. Well, mingw at least. The tests still don't all pass, but at least now we know that.

svn:r447


Revision tags: release-1.3e, release-1.3d, release-1.3c
# 9e0333a8 30-Jul-2007 Niels Provos <[email protected]>

include config.h if HAVE_CONFIG_H from Jan Kneschke


svn:r375


Revision tags: release-1.3b, release-1.3a, release-1.2a, release-1.2, release-1.1b
# 2ccd77d4 15-Sep-2002 Niels Provos <[email protected]>

test timeouts


svn:r33