| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
In order to satisfy the desire of using libumberlog, specifically
ul_format(), without having to worry about syslog() & friends being
overridden, split the library into two parts:
A linkable library, which provides the new API, but does not override
the legacy syslog() functions; and a new, LD_PRELOAD-able part, which
does override the old ones.
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
|
|
|
|
|
|
|
| |
This marginally speeds up build, and simplifies debugging/valgrind runs
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
|
|
|
|
|
|
|
|
|
|
|
| |
While assert() is a neat tool, it is not really suitable for testing,
as it gives hardly any indication on what part of the test suite
failed, and why.
For this purpose, an existing testing library, such as Check is a much
better option, so lets use that!
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
|
|
|
|
|
|
|
| |
When json-c is not found, instead of failing at configure time,
continue, but disable the test suite.
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
|
|
|
|
|
|
|
| |
The new test case always succeeds, it's purpose is to echo the
performance results.
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
|
|
|
|
| |
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
|
|
The test suite uses cee_format() to format the messages, and parses
the resulting string back into JSON, and verifies that certain key
values are what we expect them to be.
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
|