Commit Graph

24 Commits

Author SHA1 Message Date
Roy Marples
e36d62c22c Force TOP as we know which directory we are in. 2021-02-05 22:41:16 +00:00
Roy Marples
0025a1268a Fix tests 2021-02-03 20:52:01 +00:00
Roy Marples
82f344a04b build: distclean now recursively removes patch files and related 2019-09-13 11:54:03 +01:00
Kenny Napier
69e88d53ad build: exit the SUBDIR build loop if an error is detected 2019-02-14 21:24:39 +00:00
Roy Marples
3dd3d3e12d eloop-bench: use calloc 2018-01-05 19:07:35 +00:00
Roy Marples
656c34499f eloop-bench: fix reading the last write
The last write was never read from the pipe in the run, so many
runs filled the kernel buffer causing an error which was not seen
because the pipe was blocking.

Set the pipes to non blocking and improve the exit conditions,
also ensuring the bench returns any error back.
While here add more timings and run critera.

Thanks to Christos Zoulas for helping.
2018-01-05 17:29:27 +00:00
Roy Marples
9a401ca4b6 Welcome to 2018. 2018-01-01 11:17:24 +00:00
Roy Marples
c7954fce66 Don't re-define what crypt sources we need. 2017-10-05 14:03:35 +01:00
Roy Marples
a571693624 Detect hmac(3) in libc or the library containing MD5.
If not found, a compat function is provided, taken from NetBSD.
2017-10-05 14:13:02 +01:00
Roy Marples
77f724eb9c Compile eloop with config.h by default and bring in compat modules.
This allows us to build this test AND dhcpcd exactly the same,
which is important as they build eloop.o in the same place.
2017-10-03 15:50:27 +01:00
Roy Marples
a62296ad92 Add a README to describe what this does. 2017-04-14 10:27:45 +01:00
Roy Marples
b24e934828 Fix compile on Linux 2017-04-13 20:12:32 +01:00
Roy Marples
957f729d4b Enable the -r option. 2017-04-13 19:57:44 +01:00
Roy Marples
60298dded1 Fix compile on Linux. 2017-04-13 19:56:06 +01:00
Roy Marples
1acd78f765 If no eloop mechanism has been selected for us, print a message
to state which one eloop has chosen.
2017-04-13 17:42:55 +01:00
Roy Marples
75697dab57 Free stuff. 2017-04-13 16:52:53 +01:00
Roy Marples
2f1a52525e Default eloop to epoll on Solaris.
Fix eloop-bench to work on Solaris.
2017-04-13 16:38:17 +01:00
Roy Marples
e382743007 Fix compile on Solaris. 2017-04-13 16:16:58 +01:00
Roy Marples
636c120740 Add code to test hmac md5 expectations rather than a visual test.
Bump copyrights.
2017-04-13 15:56:49 +01:00
Roy Marples
53e4552dad Style 2017-04-13 15:04:20 +01:00
Roy Marples
13b9ab807e Style 2017-04-13 15:03:19 +01:00
Roy Marples
401776bc7c Tart up some more. 2017-04-13 14:56:26 +01:00
Roy Marples
421e44dd5f Tart up some. 2017-04-13 14:54:18 +01:00
Roy Marples
45d3597364 Move test into tests.
Add new test, eloop-bench to benchmark eloop.
2017-04-13 14:50:58 +01:00