fix with master
[m6w6/ext-http] / tests / etag001.phpt
index 77659d3becbaa581d3bdc923aae19a751b18fe37..b3a2a5347fbe4207dc2425604e578a8e88805e96 100644 (file)
@@ -1,12 +1,17 @@
 --TEST--
 etags with hash
 --SKIPIF--
-<?php include "skipif.inc"; _ext("hash"); ?>
+<?php 
+include "skipif.inc"; 
+_ext("hash"); 
+version_compare(PHP_VERSION, "5.4.0", ">=") or die("skip PHP>=5.4 required");
+?>
 --FILE--
 <?php
 $body = new http\Message\Body;
 $body->append("Hello, my old fellow.");
 foreach (hash_algos() as $algo) {
+       if ($algo == "gost-crypto") continue;
     ini_set("http.etag.mode", $algo);
     printf("%10s: %s\n", 
         $algo,