src/server/test/io.c

changeset 549
b26bec196a2e
parent 548
40ecc0a6b280
child 550
77241b3ba544
--- a/src/server/test/io.c	Thu Aug 15 22:16:05 2024 +0200
+++ b/src/server/test/io.c	Thu Aug 15 22:38:03 2024 +0200
@@ -186,19 +186,19 @@
     int ret;
     
     ret = http_stream_parse_chunk_header(str, len, TRUE, &chunklen);
-    //UCX_TEST_ASSERT(ret == -1, "ret != -1 (test 1a)");
+    UCX_TEST_ASSERT(ret == -1, "ret != -1 (test 1a)");
     ret = http_stream_parse_chunk_header(str, len, FALSE, &chunklen);
-    //UCX_TEST_ASSERT(ret == -1, "ret != -1 (test 1b)");
+    UCX_TEST_ASSERT(ret == -1, "ret != -1 (test 1b)");
     
     ret = http_stream_parse_chunk_header(str2, len2, TRUE, &chunklen);
-    //UCX_TEST_ASSERT(ret == -1, "ret != -1 (test 1a)");
+    UCX_TEST_ASSERT(ret == -1, "ret != -1 (test 2a)");
     ret = http_stream_parse_chunk_header(str2, len2, FALSE, &chunklen);
-    //UCX_TEST_ASSERT(ret == -1, "ret != -1 (test 1b)");
+    UCX_TEST_ASSERT(ret == -1, "ret != -1 (test 2b)");
     
     ret = http_stream_parse_chunk_header(str3, len3, TRUE, &chunklen);
-    //UCX_TEST_ASSERT(ret == -1, "ret != -1 (test 1a)");
+    UCX_TEST_ASSERT(ret == -1, "ret != -1 (test 3a)");
     ret = http_stream_parse_chunk_header(str3, len3, FALSE, &chunklen);
-    //UCX_TEST_ASSERT(ret == -1, "ret != -1 (test 1b)");
+    UCX_TEST_ASSERT(ret == -1, "ret != -1 (test 3b)");
             
     UCX_TEST_END;
     free(str);

mercurial