upgrade test suite to 5.3
[m6w6/ext-http] / tests / etag_mode_032.phpt
index 71ae9d32cdc0be5edbf0ac22714a52eef2cdb091..2f2c6436e591b0dbc421768a1a3c35feb25d097c 100644 (file)
@@ -4,20 +4,20 @@ sha1 etag
 <?php
 include 'skip.inc';
 checkcgi();
-checkmin(5.1);
+checkmin(5.3);
 ?>
 --FILE--
 <?php
-ini_set('http.etag_mode', 'SHA1');
+ini_set('http.etag.mode', 'SHA1');
 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: "03cfd743661f07975fa2f1220c5194cbaff48451"
 Content-Length: 4
-Content-type: %s
+Content-type: %a
 
 abc