From 75f0835513c0ba5b38a91d16212098d67344f09d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 10 Dec 2024 11:18:04 +0100 Subject: [PATCH] lib517: extend the getdate test with quotes and leading "junk" Closes #15708 --- tests/libtest/lib517.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/libtest/lib517.c b/tests/libtest/lib517.c index e769ae5af5..000e86d36d 100644 --- a/tests/libtest/lib517.c +++ b/tests/libtest/lib517.c @@ -98,6 +98,15 @@ static const struct dcheck dates[] = { {"Thu Apr 18 22:50:12 2007 GMT", 1176936612 }, {"Thu Apr 18 2007 22:50:12 GMT", 1176936612 }, {"Thu Apr 18 2007 GMT 22:50:12", 1176936612 }, + + {"\"Thu Apr 18 22:50:12 2007 GMT\"", 1176936612 }, + {"-\"22:50:12 Thu Apr 18 2007 GMT\"", 1176936612 }, + {"*\"Thu 22:50:12 Apr 18 2007 GMT\"", 1176936612 }, + {";\"Thu Apr 22:50:12 18 2007 GMT\"", 1176936612 }, + {".\"Thu Apr 18 22:50:12 2007 GMT\"", 1176936612 }, + {"\"Thu Apr 18 2007 22:50:12 GMT\"", 1176936612 }, + {"\"Thu Apr 18 2007 GMT 22:50:12\"", 1176936612 }, + {"Sat, 15-Apr-17 21:01:22 GMT", 1492290082 }, {"15-Sat, Apr-17 21:01:22 GMT", 1492290082 }, {"15-Sat, Apr 21:01:22 GMT 17", 1492290082 }, -- 2.47.3