From: Daniel Stenberg Date: Tue, 23 Aug 2022 13:47:27 +0000 (+0200) Subject: unit1303: four tests should have TRUE for 'connecting' X-Git-Tag: curl-7_85_0~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3f98eaafa00a989e8c4686633f5bf3f137fa6480;p=thirdparty%2Fcurl.git unit1303: four tests should have TRUE for 'connecting' To match the comments. Reported-by: Wu Zheng See #9355 Closes #9356 --- diff --git a/tests/unit/unit1303.c b/tests/unit/unit1303.c index 602adc2f53..acc3ed7bf3 100644 --- a/tests/unit/unit1303.c +++ b/tests/unit/unit1303.c @@ -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"},