branch off v1 as R_1_7
[m6w6/ext-http] / tests / etag_mode_034.phpt
index bce9e527c883e51f237beab45a0d517e46f36fca..f97bda931c6221dd1697afc347ce6da9c4f3a40c 100644 (file)
@@ -4,7 +4,7 @@ ext/hash etag
 <?php
 include 'skip.inc';
 checkcgi();
-checkmin(5.1);
+checkmin("5.2.5");
 skipif(!extension_loaded('hash'), 'need ext/hash support');
 ?>
 --FILE--
@@ -14,11 +14,11 @@ http_cache_etag();
 http_send_data("abc\n");
 ?>
 --EXPECTF--
-X-Powered-By: PHP/%s
+X-Powered-By: PHP/%a
 Cache-Control: private, must-revalidate, max-age=0
 Accept-Ranges: bytes
 ETag: "edeaaff3f1774ad2888673770c6d64097e391bc362d7d6fb34982ddf0efd18cb"
 Content-Length: 4
-Content-type: %s
+Content-type: %a
 
 abc