- libevent diagnostics
[m6w6/ext-http] / tests / etag_mode_041.phpt
index 3e15bc14df29f44b7b34e62fcf33e8d6ec2f159a..694608ed5ab6b4fddf461e7a8494fcf60585028d 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-ob crc32 etag
+ob crc32 etag (may fail because PHPs crc32 is actually crc32b)
 --SKIPIF--
 <?php
 include 'skip.inc';
@@ -8,7 +8,7 @@ checkmin(5.1);
 ?>
 --FILE--
 <?php
-ini_set('http.etag_mode', HTTP_ETAG_CRC32);
+ini_set('http.etag.mode', extension_loaded('hash')?'crc32b':'crc32');
 http_cache_etag();
 print("abc\n");
 ?>