catch CRs with %c and remove XFAIL
authorMichael Wallner <mike@php.net>
Wed, 12 Dec 2012 18:16:49 +0000 (18:16 +0000)
committerMichael Wallner <mike@php.net>
Wed, 12 Dec 2012 18:16:49 +0000 (18:16 +0000)
tests/envresponseranges001.phpt

index ec8fe2f29710080bf5d883a28c8fe07c7ad1d46a..8511fff1ea12a6e28d5e7b96c4764217da9113c9 100644 (file)
@@ -2,8 +2,6 @@
 ranges
 --SKIPIF--
 <? include "skipif.php";
---XFAIL--
-line endings
 --GET--
 a=b
 --ENV--
@@ -17,33 +15,33 @@ $r->send();
 
 ?>
 --EXPECTF--
---%s\r
-Content-Type: application/octet-stream\r
-Content-Range: bytes 107-109/110\r
-\r
+--%s%c
+Content-Type: application/octet-stream%c
+Content-Range: bytes 107-109/110%c
+%c
 ?>
-\r
---%s\r
-Content-Type: application/octet-stream\r
-Content-Range: bytes 0-1/110\r
-\r
-<?\r
---%s\r
-Content-Type: application/octet-stream\r
-Content-Range: bytes 1-1/110\r
-\r
-?\r
---%s\r
-Content-Type: application/octet-stream\r
-Content-Range: bytes 0-0/110\r
-\r
-<\r
---%s\r
-Content-Type: application/octet-stream\r
-Content-Range: bytes 100-109/110\r
-\r
+%c
+--%s%c
+Content-Type: application/octet-stream%c
+Content-Range: bytes 0-1/110%c
+%c
+<?%c
+--%s%c
+Content-Type: application/octet-stream%c
+Content-Range: bytes 1-1/110%c
+%c
+?%c
+--%s%c
+Content-Type: application/octet-stream%c
+Content-Range: bytes 0-0/110%c
+%c
+<%c
+--%s%c
+Content-Type: application/octet-stream%c
+Content-Range: bytes 100-109/110%c
+%c
 nd();
 
 ?>
-\r
+%c
 --%s--
\ No newline at end of file