From 2d4d1747e94fdf1b314b75d70cedc0d14882e9f5 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Sun, 5 May 2024 22:15:56 +0200 Subject: [PATCH] test: suppress logging for buffer/add_file_leak1 Warnings from this test should be ignored: [warn] evbuffer_file_segment_materialize: mmap(5, 0, 0) failed: Invalid argument --- test/regress_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/regress_buffer.c b/test/regress_buffer.c index 32e35af8..26823c9a 100644 --- a/test/regress_buffer.c +++ b/test/regress_buffer.c @@ -2968,7 +2968,7 @@ struct testcase_t evbuffer_testcases[] = { { "file_segment_add_cleanup_cb", test_evbuffer_file_segment_add_cleanup_cb, 0, NULL, NULL }, { "pullup_with_empty", test_evbuffer_pullup_with_empty, 0, NULL, NULL }, #ifndef EVENT__DISABLE_MM_REPLACEMENT - { "add_file_leak1", test_evbuffer_add_file_leak1, 0, NULL, NULL }, + { "add_file_leak1", test_evbuffer_add_file_leak1, TT_NO_LOGS, NULL, NULL }, #endif #define ADDFILE_TEST(name, parameters) \