From 9421dbd7e3caa29ffe699dcd3612f313ad549bae Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Sat, 20 Jan 2024 16:37:44 +1300 Subject: [PATCH] Add an event in the year 500. --- testing/tests/regression-suite/2702-Past-Event.ics | 13 +++++++++++++ .../tests/regression-suite/2702-Past-Event.result | 8 ++++++++ testing/tests/regression-suite/2702-Past-Event.test | 10 ++++++++++ 3 files changed, 31 insertions(+) create mode 100644 testing/tests/regression-suite/2702-Past-Event.ics create mode 100644 testing/tests/regression-suite/2702-Past-Event.result create mode 100644 testing/tests/regression-suite/2702-Past-Event.test diff --git a/testing/tests/regression-suite/2702-Past-Event.ics b/testing/tests/regression-suite/2702-Past-Event.ics new file mode 100644 index 00000000..e26c3ad1 --- /dev/null +++ b/testing/tests/regression-suite/2702-Past-Event.ics @@ -0,0 +1,13 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//artisanal-handcrafted-ICS.com//NONSGML Artisanal.iCal 1.0//EN +BEGIN:VEVENT +CLASS:PUBLIC +DTSTAMP:20240120T034700Z +DTSTART;VALUE=DATE:05000917 +DTEND;VALUE=DATE:05000918 +SUMMARY:Test date in the distant future +TRANSP:TRANSPARENT +UID:2702-Past-Event +END:VEVENT +END:VCALENDAR diff --git a/testing/tests/regression-suite/2702-Past-Event.result b/testing/tests/regression-suite/2702-Past-Event.result new file mode 100644 index 00000000..7373276d --- /dev/null +++ b/testing/tests/regression-suite/2702-Past-Event.result @@ -0,0 +1,8 @@ +HTTP/1.1 201 Created +Date: Dow, 01 Jan 2000 00:00:00 GMT +DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule +DAV: extended-mkcol, bind, addressbook, calendar-auto-schedule, calendar-proxy +ETag: "36fb08aef42b676c00a2926f1a40f820" +Content-Length: 0 +Content-Type: text/plain; charset="utf-8" + diff --git a/testing/tests/regression-suite/2702-Past-Event.test b/testing/tests/regression-suite/2702-Past-Event.test new file mode 100644 index 00000000..f6d92752 --- /dev/null +++ b/testing/tests/regression-suite/2702-Past-Event.test @@ -0,0 +1,10 @@ +# +# PUT an event that is far in the past. +# +TYPE=PUT +URL=http://regression.host/caldav.php/user1/home/2702-Past-Event.ics +HEADER=User-Agent: test-suite/1.0 +HEADER=Content-Type: text/calendar; charset=utf-8 +HEAD +# +DATA=2702-Past-Event.ics