summaryrefslogtreecommitdiffstats
path: root/src/coredump/test-coredump-vacuum.c
blob: 27f833095097e13b0c3b79acc339390b0fb389ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: LGPL-2.1-or-later */

#include <stdlib.h>

#include "coredump-vacuum.h"
#include "tests.h"

int main(int argc, char *argv[]) {
        test_setup_logging(LOG_DEBUG);

        if (coredump_vacuum(-1, UINT64_MAX, 70 * 1024) < 0)
                return EXIT_FAILURE;

        return EXIT_SUCCESS;
}