tst_coredump.h 412 字节
Newer Older
M
m00302376 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Copyright (c) 2019 Red Hat, Inc.
 */

#ifndef TST_COREDUMP__
#define TST_COREDUMP__

/*
 * If crash is expected, avoid dumping corefile.
 * 1 is a special value, that disables core-to-pipe.
 * At the same time it is small enough value for
 * core-to-file, so it skips creating cores as well.
 */
void tst_no_corefile(int verbose);

#endif /* TST_COREDUMP_H */