- Fixed build on php-trunk
[m6w6/ext-http] / tests / etag_mode_044.phpt
index 055395a71d86eae264f301fc8438ef5727df09bc..6992860fb78983caf3e32eb4b34c6bb001c6251d 100644 (file)
@@ -4,19 +4,19 @@ ob ext/hash etag
 <?php
 include 'skip.inc';
 checkcgi();
-checkmin(5.1);
+checkmin("5.2.5");
 skipif(!extension_loaded('hash'), 'need ext/hash support');
 ?>
 --FILE--
 <?php
-ini_set('http.etag_mode', 'sha256');
+ini_set('http.etag.mode', 'sha256');
 http_cache_etag();
 print("abc\n");
 ?>
 --EXPECTF--
-X-Powered-By: PHP/%s
+X-Powered-By: PHP/%a
 Cache-Control: private, must-revalidate, max-age=0
 ETag: "edeaaff3f1774ad2888673770c6d64097e391bc362d7d6fb34982ddf0efd18cb"
-Content-type: %s
+Content-type: %a
 
 abc