projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- fix issues ifndef HTTP_HAVE_CURL
[m6w6/ext-http]
/
tests
/
etag_mode_crc.phpt
diff --git
a/tests/etag_mode_crc.phpt
b/tests/etag_mode_crc.phpt
index 2e83a9bb06701f3770b368037c4682edc0b74a0a..ffe5a0621e7b8d56496975f8ed2f5cc2bc247ee5 100644
(file)
--- a/
tests/etag_mode_crc.phpt
+++ b/
tests/etag_mode_crc.phpt
@@
-3,7
+3,10
@@
sane crc etags
--SKIPIF--
<?php
include 'skip.inc';
--SKIPIF--
<?php
include 'skip.inc';
-chkver(5.1);
+checkver(5.1);
+skipif(!http_support(HTTP_SUPPORT_MHASHETAGS), 'need mhash support');
+skipif(!defined('HTTP_ETAG_MHASH_CRC32'), 'need CRC32 mhash support');
+skipif(!defined('HTTP_ETAG_MHASH_CRC32B'), 'need CRC32B mhash support');
?>
--FILE--
<?php
?>
--FILE--
<?php