X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Funit%2Ftest_directory_handle.c;h=6d3028a35c566e7b56687fcaa956d2b2270b7010;hp=13db3f4bb891e3433e2a8a17eaeeba81408e32e2;hb=f75c5439a7fe3d47edf68098f249421b701fceaf;hpb=2fdaeb7e6ba9952cc083027fbe591fd6b69cbe80 diff --git a/tests/unit/test_directory_handle.c b/tests/unit/test_directory_handle.c index 13db3f4bb..6d3028a35 100644 --- a/tests/unit/test_directory_handle.c +++ b/tests/unit/test_directory_handle.c @@ -80,7 +80,7 @@ int main(int argc, char **argv) ok(dir_exists(created_dir), "Folder %s exists", created_dir); ret = lttng_directory_handle_remove_subdirectory_recursive( - &test_dir_handle, "a"); + &test_dir_handle, "a", LTTNG_DIRECTORY_HANDLE_FAIL_NON_EMPTY_FLAG); ok(ret == 0, "Recursively removed directory hierarchy %s by removing %s", DIR_HIERARCHY, "a"); end: