Dear maintainers,

I wanted to do some tests on FreeBSD, so I created a machine on a
mainstream cloud service with these parameters:
2 GB Memory, 2 cores, FreeBSD 11.0 zfs

I cloned the git repository, downloaded the necessary packages and compiled
with clang.
latest commit c623d35dcc88d0e90a239289b947f0199ad02d5b
Date:   Sun Jan 22 23:24:24 2017 +0300

make check had strange results, test_shutdown_select and test_shutdown_poll
were failing.
I did some investigation and added a new trace in the test code, see
attached diff file.

Any ideas? Is it a microhttpd or FreeBSD problem?

Cheers,
Mate
diff --git a/src/microhttpd/test_shutdown_select.c 
b/src/microhttpd/test_shutdown_select.c
index 8d779dbd..15434676 100644
--- a/src/microhttpd/test_shutdown_select.c
+++ b/src/microhttpd/test_shutdown_select.c
@@ -372,7 +372,11 @@ main (int argc, char *const *argv)
           return 99;
         }
       if (end_t - start_t > 3)
+      {
+        fprintf (stderr, "Test failed, time spent: %ld second\n",
+                 end_t - start_t);
         result++;
+      }
     }
 
 #ifdef MHD_WINSOCK_SOCKETS

Attachment: test-suite.log
Description: Binary data

Reply via email to