ClamAV is an open source (GPLv2) anti-virus toolkit.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef CHECKS_H
|
|
|
|
#define CHECKS_H
|
|
|
|
|
|
|
|
#if CHECK_MAJOR_VERSION > 0 || ( CHECK_MINOR_VERSION > 9 || ( CHECK_MINOR_VERSION == 9 && CHECK_MICRO_VERSION > 3))
|
|
|
|
#define CHECK_HAVE_LOOPS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if CHECK_MAJOR_VERSION > 0 || ( CHECK_MINOR_VERSION > 9 || ( CHECK_MINOR_VERSION == 9 && CHECK_MICRO_VERSION > 0))
|
|
|
|
#define fail_unless_fmt fail_unless
|
|
|
|
#define fail_fmt fail
|
|
|
|
#else
|
|
|
|
#define fail_unless_fmt(cond, msg, ...) fail_unless(cond, msg)
|
|
|
|
#define fail_fmt(msg, ...) fail(msg)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
Suite *test_jsnorm_suite(void);
|
|
|
|
Suite *test_str_suite(void);
|
|
|
|
Suite *test_regex_suite(void);
|
|
|
|
Suite *test_disasm_suite(void);
|
|
|
|
Suite *test_uniq_suite(void);
|
|
|
|
Suite *test_matchers_suite(void);
|
|
|
|
Suite *test_htmlnorm_suite(void);
|
|
|
|
void errmsg_expected(void);
|
|
|
|
int open_testfile(const char *name);
|
|
|
|
void diff_files(int fd, int reffd);
|
|
|
|
void diff_file_mem(int fd, const char *ref, size_t len);
|
|
|
|
|
|
|
|
#endif
|