]> granicus.if.org Git - libevent/commitdiff
add more (currently skipped) add_file tests on win32
authorNick Mathewson <nickm@torproject.org>
Sat, 8 May 2010 20:47:07 +0000 (16:47 -0400)
committerNick Mathewson <nickm@torproject.org>
Sat, 8 May 2010 20:47:17 +0000 (16:47 -0400)
test/regress_buffer.c

index 057a0a212d548a302c28b9d5089648030c5252bd..20bc06ce98a118fc630a06cd5aa0f69f133f64b6 100644 (file)
@@ -1538,13 +1538,11 @@ struct testcase_t evbuffer_testcases[] = {
        { "peek", test_evbuffer_peek, 0, NULL, NULL },
        { "freeze_start", test_evbuffer_freeze, 0, &nil_setup, (void*)"start" },
        { "freeze_end", test_evbuffer_freeze, 0, &nil_setup, (void*)"end" },
-#ifndef WIN32
        /* TODO: need a temp file implementation for Windows */
        { "add_file_sendfile", test_evbuffer_add_file, TT_FORK, &nil_setup,
          (void*)"sendfile" },
        { "add_file_mmap", test_evbuffer_add_file, TT_FORK, &nil_setup,
          (void*)"mmap" },
-#endif
        { "add_file_linear", test_evbuffer_add_file, TT_FORK, &nil_setup,
          (void*)"linear" },