aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-04-18 08:29:33 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-04-18 08:29:33 +0200
commit1d778e4f38ff3225e6dbac0d3891f67c966006af (patch)
tree5d82007cb1182a60c8cbcd2e5568edaa7b9903b1
parentFlush ports between tests. (diff)
downloadcalp-1d778e4f38ff3225e6dbac0d3891f67c966006af.tar.gz
calp-1d778e4f38ff3225e6dbac0d3891f67c966006af.tar.xz
Update test cases from RFC 4791 to be parsable by Guile.
-rw-r--r--tests/rfc4791/5.3.1.2/request2
-rw-r--r--tests/rfc4791/5.3.1.2/response3
-rw-r--r--tests/rfc4791/5.3.2/request2
-rw-r--r--tests/rfc4791/5.3.2/response1
-rw-r--r--tests/rfc4791/7.10.1/request2
-rw-r--r--tests/rfc4791/7.10.1/response2
-rw-r--r--tests/rfc4791/7.8.1/request2
-rw-r--r--tests/rfc4791/7.8.1/response2
-rw-r--r--tests/rfc4791/7.8.10/request2
-rw-r--r--tests/rfc4791/7.8.10/response2
-rw-r--r--tests/rfc4791/7.8.2/request2
-rw-r--r--tests/rfc4791/7.8.2/response2
-rw-r--r--tests/rfc4791/7.8.3/request2
-rw-r--r--tests/rfc4791/7.8.3/response2
-rw-r--r--tests/rfc4791/7.8.4/request2
-rw-r--r--tests/rfc4791/7.8.4/response2
-rw-r--r--tests/rfc4791/7.8.5/request2
-rw-r--r--tests/rfc4791/7.8.5/response2
-rw-r--r--tests/rfc4791/7.8.6/request2
-rw-r--r--tests/rfc4791/7.8.6/response2
-rw-r--r--tests/rfc4791/7.8.7/request2
-rw-r--r--tests/rfc4791/7.8.7/response (renamed from tests/rfc4791/7.8.7/respnose)2
-rw-r--r--tests/rfc4791/7.8.8/request2
-rw-r--r--tests/rfc4791/7.8.8/response2
-rw-r--r--tests/rfc4791/7.8.9/request2
-rw-r--r--tests/rfc4791/7.8.9/response2
-rw-r--r--tests/rfc4791/7.9.1/request2
-rw-r--r--tests/rfc4791/7.9.1/response2
-rw-r--r--tests/rfc4791/appendix-b/request2
-rw-r--r--tests/rfc4791/appendix-b/response2
30 files changed, 31 insertions, 29 deletions
diff --git a/tests/rfc4791/5.3.1.2/request b/tests/rfc4791/5.3.1.2/request
index e86f98e5..8b72a380 100644
--- a/tests/rfc4791/5.3.1.2/request
+++ b/tests/rfc4791/5.3.1.2/request
@@ -1,7 +1,7 @@
MKCALENDAR /home/lisa/calendars/events/ HTTP/1.1
Host: cal.example.com
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<C:mkcalendar xmlns:D="DAV:"
diff --git a/tests/rfc4791/5.3.1.2/response b/tests/rfc4791/5.3.1.2/response
index 0e8dd53a..f92d755a 100644
--- a/tests/rfc4791/5.3.1.2/response
+++ b/tests/rfc4791/5.3.1.2/response
@@ -1,4 +1,5 @@
HTTP/1.1 201 Created
Cache-Control: no-cache
Date: Sat, 11 Nov 2006 09:32:12 GMT
-Content-Length: 0 \ No newline at end of file
+Content-Length: 0
+
diff --git a/tests/rfc4791/5.3.2/request b/tests/rfc4791/5.3.2/request
index aac71656..7efaceb3 100644
--- a/tests/rfc4791/5.3.2/request
+++ b/tests/rfc4791/5.3.2/request
@@ -2,7 +2,7 @@ PUT /home/lisa/calendars/events/qwue23489.ics HTTP/1.1
If-None-Match: *
Host: cal.example.com
Content-Type: text/calendar
-Content-Length: xxxx
+Content-Length: 0
BEGIN:VCALENDAR
VERSION:2.0
diff --git a/tests/rfc4791/5.3.2/response b/tests/rfc4791/5.3.2/response
index 9df8e38e..1c3c18e8 100644
--- a/tests/rfc4791/5.3.2/response
+++ b/tests/rfc4791/5.3.2/response
@@ -2,3 +2,4 @@ HTTP/1.1 201 Created
Content-Length: 0
Date: Sat, 11 Nov 2006 09:32:12 GMT
ETag: "123456789-000-111"
+
diff --git a/tests/rfc4791/7.10.1/request b/tests/rfc4791/7.10.1/request
index 25669689..977f934b 100644
--- a/tests/rfc4791/7.10.1/request
+++ b/tests/rfc4791/7.10.1/request
@@ -2,7 +2,7 @@ REPORT /bernard/work/ HTTP/1.1
Host: cal.example.com
Depth: 1
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<C:free-busy-query xmlns:C="urn:ietf:params:xml:ns:caldav">
diff --git a/tests/rfc4791/7.10.1/response b/tests/rfc4791/7.10.1/response
index 93e05bdc..eaf31712 100644
--- a/tests/rfc4791/7.10.1/response
+++ b/tests/rfc4791/7.10.1/response
@@ -1,7 +1,7 @@
HTTP/1.1 200 OK
Date: Sat, 11 Nov 2006 09:32:12 GMT
Content-Type: text/calendar
-Content-Length: xxxx
+Content-Length: 0
BEGIN:VCALENDAR
VERSION:2.0
diff --git a/tests/rfc4791/7.8.1/request b/tests/rfc4791/7.8.1/request
index 91758db9..94a711a2 100644
--- a/tests/rfc4791/7.8.1/request
+++ b/tests/rfc4791/7.8.1/request
@@ -2,7 +2,7 @@ REPORT /bernard/work/ HTTP/1.1
Host: cal.example.com
Depth: 1
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<C:calendar-query xmlns:D="DAV:"
diff --git a/tests/rfc4791/7.8.1/response b/tests/rfc4791/7.8.1/response
index 0c317d9d..b618b58f 100644
--- a/tests/rfc4791/7.8.1/response
+++ b/tests/rfc4791/7.8.1/response
@@ -1,7 +1,7 @@
HTTP/1.1 207 Multi-Status
Date: Sat, 11 Nov 2006 09:32:12 GMT
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:"
diff --git a/tests/rfc4791/7.8.10/request b/tests/rfc4791/7.8.10/request
index 3fcea12d..df483796 100644
--- a/tests/rfc4791/7.8.10/request
+++ b/tests/rfc4791/7.8.10/request
@@ -2,7 +2,7 @@ REPORT /bernard/work/ HTTP/1.1
Host: cal.example.com
Depth: 1
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav">
diff --git a/tests/rfc4791/7.8.10/response b/tests/rfc4791/7.8.10/response
index 1ca4f47b..6a13fb53 100644
--- a/tests/rfc4791/7.8.10/response
+++ b/tests/rfc4791/7.8.10/response
@@ -1,7 +1,7 @@
HTTP/1.1 403 Forbidden
Date: Sat, 11 Nov 2005 09:32:12 GMT
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<D:error>
diff --git a/tests/rfc4791/7.8.2/request b/tests/rfc4791/7.8.2/request
index fd343b2e..83e31d90 100644
--- a/tests/rfc4791/7.8.2/request
+++ b/tests/rfc4791/7.8.2/request
@@ -2,7 +2,7 @@ REPORT /bernard/work/ HTTP/1.1
Host: cal.example.com
Depth: 1
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<C:calendar-query xmlns:D="DAV:"
diff --git a/tests/rfc4791/7.8.2/response b/tests/rfc4791/7.8.2/response
index cf6b92af..71dced2c 100644
--- a/tests/rfc4791/7.8.2/response
+++ b/tests/rfc4791/7.8.2/response
@@ -1,7 +1,7 @@
HTTP/1.1 207 Multi-Status
Date: Sat, 11 Nov 2006 09:32:12 GMT
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:"
diff --git a/tests/rfc4791/7.8.3/request b/tests/rfc4791/7.8.3/request
index 2abe05ff..35f9ca07 100644
--- a/tests/rfc4791/7.8.3/request
+++ b/tests/rfc4791/7.8.3/request
@@ -2,7 +2,7 @@ REPORT /bernard/work/ HTTP/1.1
Host: cal.example.com
Depth: 1
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<C:calendar-query xmlns:D="DAV:"
diff --git a/tests/rfc4791/7.8.3/response b/tests/rfc4791/7.8.3/response
index f48d2504..68f3b1a1 100644
--- a/tests/rfc4791/7.8.3/response
+++ b/tests/rfc4791/7.8.3/response
@@ -1,7 +1,7 @@
HTTP/1.1 207 Multi-Status
Date: Sat, 11 Nov 2006 09:32:12 GMT
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:"
diff --git a/tests/rfc4791/7.8.4/request b/tests/rfc4791/7.8.4/request
index 10fc53a4..c70acc61 100644
--- a/tests/rfc4791/7.8.4/request
+++ b/tests/rfc4791/7.8.4/request
@@ -2,7 +2,7 @@ REPORT /bernard/work/ HTTP/1.1
Host: cal.example.com
Depth: 1
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<C:calendar-query xmlns:D="DAV:"
diff --git a/tests/rfc4791/7.8.4/response b/tests/rfc4791/7.8.4/response
index 3829f2e3..67959c58 100644
--- a/tests/rfc4791/7.8.4/response
+++ b/tests/rfc4791/7.8.4/response
@@ -1,7 +1,7 @@
HTTP/1.1 207 Multi-Status
Date: Sat, 11 Nov 2006 09:32:12 GMT
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:"
diff --git a/tests/rfc4791/7.8.5/request b/tests/rfc4791/7.8.5/request
index b8391c8e..d3639f40 100644
--- a/tests/rfc4791/7.8.5/request
+++ b/tests/rfc4791/7.8.5/request
@@ -2,7 +2,7 @@ REPORT /bernard/work/ HTTP/1.1
Host: cal.example.com
Depth: 1
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav">
diff --git a/tests/rfc4791/7.8.5/response b/tests/rfc4791/7.8.5/response
index 0e446f53..4b5a8d8a 100644
--- a/tests/rfc4791/7.8.5/response
+++ b/tests/rfc4791/7.8.5/response
@@ -1,7 +1,7 @@
HTTP/1.1 207 Multi-Status
Date: Sat, 11 Nov 2006 09:32:12 GMT
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:"
diff --git a/tests/rfc4791/7.8.6/request b/tests/rfc4791/7.8.6/request
index b86a0e45..ca6d4b37 100644
--- a/tests/rfc4791/7.8.6/request
+++ b/tests/rfc4791/7.8.6/request
@@ -2,7 +2,7 @@ REPORT /bernard/work/ HTTP/1.1
Host: cal.example.com
Depth: 1
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav">
diff --git a/tests/rfc4791/7.8.6/response b/tests/rfc4791/7.8.6/response
index 1f0aa3e6..cd257a10 100644
--- a/tests/rfc4791/7.8.6/response
+++ b/tests/rfc4791/7.8.6/response
@@ -1,7 +1,7 @@
HTTP/1.1 207 Multi-Status
Date: Sat, 11 Nov 2006 09:32:12 GMT
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:"
diff --git a/tests/rfc4791/7.8.7/request b/tests/rfc4791/7.8.7/request
index bd806cbc..cb030130 100644
--- a/tests/rfc4791/7.8.7/request
+++ b/tests/rfc4791/7.8.7/request
@@ -2,7 +2,7 @@ REPORT /bernard/work/ HTTP/1.1
Host: cal.example.com
Depth: 1
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav">
diff --git a/tests/rfc4791/7.8.7/respnose b/tests/rfc4791/7.8.7/response
index 1f0aa3e6..cd257a10 100644
--- a/tests/rfc4791/7.8.7/respnose
+++ b/tests/rfc4791/7.8.7/response
@@ -1,7 +1,7 @@
HTTP/1.1 207 Multi-Status
Date: Sat, 11 Nov 2006 09:32:12 GMT
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:"
diff --git a/tests/rfc4791/7.8.8/request b/tests/rfc4791/7.8.8/request
index 054fa641..1ddb3287 100644
--- a/tests/rfc4791/7.8.8/request
+++ b/tests/rfc4791/7.8.8/request
@@ -2,7 +2,7 @@ REPORT /bernard/work/ HTTP/1.1
Host: cal.example.com
Depth: 1
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav">
diff --git a/tests/rfc4791/7.8.8/response b/tests/rfc4791/7.8.8/response
index 81ef8546..63895076 100644
--- a/tests/rfc4791/7.8.8/response
+++ b/tests/rfc4791/7.8.8/response
@@ -1,7 +1,7 @@
HTTP/1.1 207 Multi-Status
Date: Sat, 11 Nov 2006 09:32:12 GMT
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:"
diff --git a/tests/rfc4791/7.8.9/request b/tests/rfc4791/7.8.9/request
index f2d48fb7..24484ffb 100644
--- a/tests/rfc4791/7.8.9/request
+++ b/tests/rfc4791/7.8.9/request
@@ -2,7 +2,7 @@ REPORT /bernard/work/ HTTP/1.1
Host: cal.example.com
Depth: 1
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav">
diff --git a/tests/rfc4791/7.8.9/response b/tests/rfc4791/7.8.9/response
index c388907d..9e37db61 100644
--- a/tests/rfc4791/7.8.9/response
+++ b/tests/rfc4791/7.8.9/response
@@ -1,7 +1,7 @@
HTTP/1.1 207 Multi-Status
Date: Sat, 11 Nov 2006 09:32:12 GMT
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:"
diff --git a/tests/rfc4791/7.9.1/request b/tests/rfc4791/7.9.1/request
index e2317b3a..caccc135 100644
--- a/tests/rfc4791/7.9.1/request
+++ b/tests/rfc4791/7.9.1/request
@@ -1,7 +1,7 @@
REPORT /bernard/work/ HTTP/1.1
Host: cal.example.com
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<C:calendar-multiget xmlns:D="DAV:"
diff --git a/tests/rfc4791/7.9.1/response b/tests/rfc4791/7.9.1/response
index 72d584f8..fbc5e966 100644
--- a/tests/rfc4791/7.9.1/response
+++ b/tests/rfc4791/7.9.1/response
@@ -1,7 +1,7 @@
HTTP/1.1 207 Multi-Status
Date: Sat, 11 Nov 2006 09:32:12 GMT
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:"
diff --git a/tests/rfc4791/appendix-b/request b/tests/rfc4791/appendix-b/request
index c6fd7c6a..6e077508 100644
--- a/tests/rfc4791/appendix-b/request
+++ b/tests/rfc4791/appendix-b/request
@@ -2,7 +2,7 @@ REPORT /bernard/work/ HTTP/1.1
Host: cal.example.com
Depth: 1
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<C:calendar-query xmlns:D="DAV:"
diff --git a/tests/rfc4791/appendix-b/response b/tests/rfc4791/appendix-b/response
index d58f5948..5e6878ef 100644
--- a/tests/rfc4791/appendix-b/response
+++ b/tests/rfc4791/appendix-b/response
@@ -1,6 +1,6 @@
HTTP/1.1 207 Multi-Status
Content-Type: application/xml; charset="utf-8"
-Content-Length: xxxx
+Content-Length: 0
<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:"