- removed error prone macros, fixes bug #10151 (build fails dynamic linking on Mac...
[m6w6/ext-http] / tests / etag_mode_031.phpt
index 29a70804d965fa4818ec12704e6e58a63a848b58..813b309373e60b293f2f6360ef4f3a616637ee83 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-crc32 etag
+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', 'crc32');
+ini_set('http.etag.mode', extension_loaded('hash')?'crc32b':'crc32');
 http_cache_etag();
 http_send_data("abc\n");
 ?>