/* SPDX-License-Identifier: LGPL-2.1-or-later */ #include "alloc-util.h" #include "coredump-util.h" #include "macro.h" #include "tests.h" TEST(coredump_filter_to_from_string) { for (CoredumpFilter i = 0; i < _COREDUMP_FILTER_MAX; i++) { const char *n; assert_se(n = coredump_filter_to_string(i)); log_info("0x%x\t%s", 1<