upgrade test suite to 5.3
[m6w6/ext-http] / tests / etag_mode_044.phpt
index 5f69d4bd921248d8fed86cc003e9880f9f0bf1f4..faf4bf1f25e83dd352071f1a6d6db0354e86bdec 100644 (file)
@@ -4,19 +4,19 @@ ob ext/hash etag
 <?php
 include 'skip.inc';
 checkcgi();
-checkmin(5.1);
-skipif(!extendion_loaded('hash'), 'need mhash support');
+checkmin(5.3);
+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