X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fetag001.phpt;h=c1e1e44c897a92587198dcab8fd16bb1bf156703;hp=b3a2a5347fbe4207dc2425604e578a8e88805e96;hb=2faff9ef4c637987974f585af60455df57328bff;hpb=7a119e0ea5a4cfec9535b69f78d8c4cabea577ef diff --git a/tests/etag001.phpt b/tests/etag001.phpt index b3a2a53..c1e1e44 100644 --- a/tests/etag001.phpt +++ b/tests/etag001.phpt @@ -11,7 +11,12 @@ version_compare(PHP_VERSION, "5.4.0", ">=") or die("skip PHP>=5.4 required"); $body = new http\Message\Body; $body->append("Hello, my old fellow."); foreach (hash_algos() as $algo) { - if ($algo == "gost-crypto") continue; + switch ($algo) { + case "gost-crypto": + case "fnv1a32": + case "fnv1a64": + continue 2; + } ini_set("http.etag.mode", $algo); printf("%10s: %s\n", $algo,