mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 04:50:37 -04:00
add more (currently skipped) add_file tests on win32
This commit is contained in:
parent
ad811cdc2b
commit
05de45d63f
@ -1538,13 +1538,11 @@ struct testcase_t evbuffer_testcases[] = {
|
|||||||
{ "peek", test_evbuffer_peek, 0, NULL, NULL },
|
{ "peek", test_evbuffer_peek, 0, NULL, NULL },
|
||||||
{ "freeze_start", test_evbuffer_freeze, 0, &nil_setup, (void*)"start" },
|
{ "freeze_start", test_evbuffer_freeze, 0, &nil_setup, (void*)"start" },
|
||||||
{ "freeze_end", test_evbuffer_freeze, 0, &nil_setup, (void*)"end" },
|
{ "freeze_end", test_evbuffer_freeze, 0, &nil_setup, (void*)"end" },
|
||||||
#ifndef WIN32
|
|
||||||
/* TODO: need a temp file implementation for Windows */
|
/* TODO: need a temp file implementation for Windows */
|
||||||
{ "add_file_sendfile", test_evbuffer_add_file, TT_FORK, &nil_setup,
|
{ "add_file_sendfile", test_evbuffer_add_file, TT_FORK, &nil_setup,
|
||||||
(void*)"sendfile" },
|
(void*)"sendfile" },
|
||||||
{ "add_file_mmap", test_evbuffer_add_file, TT_FORK, &nil_setup,
|
{ "add_file_mmap", test_evbuffer_add_file, TT_FORK, &nil_setup,
|
||||||
(void*)"mmap" },
|
(void*)"mmap" },
|
||||||
#endif
|
|
||||||
{ "add_file_linear", test_evbuffer_add_file, TT_FORK, &nil_setup,
|
{ "add_file_linear", test_evbuffer_add_file, TT_FORK, &nil_setup,
|
||||||
(void*)"linear" },
|
(void*)"linear" },
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user