| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- we have "check-all.c" and "check-direct.c", which contains the
main functions of the actual tests.
On the other hand, the other "check-{addr,attr,ematch-tree-clone}.c"
files only contained the test suites for "check-all.c". Rename
the latter to have a separate name prefix.
- rename "tests/util.h" to "tests/cksuite-all.h". It's really the
header that declares all the suites.
- add a "tests/nl-test-util.c" as a static helper library with
test code.
|
|
|
|
|
|
| |
fail_if() is deprecated. See also commit 3d1fb006c859
('tests/check-addr: replace deprecated fail_if() macro from libcheck
with ck_assert_msg()').
|
|
|
|
|
|
|
|
|
|
|
| |
In this commit, we implement ematch_tree_clone(), which is basis of
cgroup_clone() interface. The whole ematch tree is deep-copied except
the e_ops filed.
Also, a new unit test is added for testing the interface, which named as
check-ematch-tree-clone.c located in tests directory.
https://github.com/thom311/libnl/pull/176
|
| |
|
|
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|