]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
unit1303: four tests should have TRUE for 'connecting'
authorDaniel Stenberg <daniel@haxx.se>
Tue, 23 Aug 2022 13:47:27 +0000 (15:47 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 23 Aug 2022 15:39:37 +0000 (17:39 +0200)
To match the comments.

Reported-by: Wu Zheng
See #9355
Closes #9356

tests/unit/unit1303.c

index 602adc2f53a862efcbfb88938af48e4c995d91b2..acc3ed7bf37d85fbdf65eb46c7d553d11aec6716 100644 (file)
@@ -101,10 +101,10 @@ UNITTEST_START
   {BASE + 12, 0,     10000, 0, FALSE, -2000, "-2000, overdue 2 seconds"},
 
   /* no connect timeout set, connecting */
-  {BASE + 4, 0,      10000, 0, FALSE, 6000, "6 seconds should be left"},
-  {BASE + 4, 990000, 10000, 0, FALSE, 5010, "5010 ms should be left"},
-  {BASE + 10, 0,     10000, 0, FALSE, -1,   "timeout is -1, expired"},
-  {BASE + 12, 0,     10000, 0, FALSE, -2000, "-2000, overdue 2 seconds"},
+  {BASE + 4, 0,      10000, 0, TRUE, 6000, "6 seconds should be left"},
+  {BASE + 4, 990000, 10000, 0, TRUE, 5010, "5010 ms should be left"},
+  {BASE + 10, 0,     10000, 0, TRUE, -1,   "timeout is -1, expired"},
+  {BASE + 12, 0,     10000, 0, TRUE, -2000, "-2000, overdue 2 seconds"},
 
   /* only connect timeout set, not connecting */
   {BASE + 4, 0,      0, 10000, FALSE, 0, "no timeout active"},