]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
tests/gunit: Extend the fuzzer to test cgroup_new_cgroup()
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Tue, 7 Feb 2023 23:23:08 +0000 (16:23 -0700)
committerTom Hromatka <tom.hromatka@oracle.com>
Tue, 7 Feb 2023 23:23:13 +0000 (16:23 -0700)
commitbe62c2649a845726ca67faa7707fbeae7eb84c90
tree8420f48a9b0195087f91c6ce69dc2c2ddf2cb02f
parenta8973c694a83229ef74e96e44a740dceabff1db3
tests/gunit: Extend the fuzzer to test cgroup_new_cgroup()

Add fuzzing to the cgroup_new_cgroup() API, by passing NULL as cgroup
name.

[----------] 2 tests from APIArgsTest
[ RUN      ] APIArgsTest.API_cgroup_set_permissions
[       OK ] APIArgsTest.API_cgroup_set_permissions (0 ms)
[ RUN      ] APIArgsTest.API_cgroup_new_cgroup

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
tests/gunit/017-API_fuzz_test.cpp