projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag 'RELEASE_0_21_0'.
[m6w6/ext-http]
/
tests
/
etag_mode_011.phpt
diff --git
a/tests/etag_mode_011.phpt
b/tests/etag_mode_011.phpt
index 75505aa5a3df5be98dd498883b0a5aa486d1a330..205b60ac8dae75c54e69bab4e0f30329f1f4d0be 100644
(file)
--- a/
tests/etag_mode_011.phpt
+++ b/
tests/etag_mode_011.phpt
@@
-1,13
+1,14
@@
--TEST--
--TEST--
-ob crc32 etag
+ob crc32 etag
(may fail because PHPs crc32 is actually crc32b)
--SKIPIF--
<?php
include 'skip.inc';
checkcgi();
--SKIPIF--
<?php
include 'skip.inc';
checkcgi();
+checkmax(5.0);
?>
--FILE--
<?php
?>
--FILE--
<?php
-ini_set('http.etag_mode',
HTTP_ETAG_CRC32
);
+ini_set('http.etag_mode',
'crc32'
);
http_cache_etag();
print("abc\n");
?>
http_cache_etag();
print("abc\n");
?>
@@
-15,6
+16,6
@@
print("abc\n");
Content-type: %s
X-Powered-By: PHP/%s
Cache-Control: private, must-revalidate, max-age=0
Content-type: %s
X-Powered-By: PHP/%s
Cache-Control: private, must-revalidate, max-age=0
-ETag: "
28ad514e
"
+ETag: "
4e818847
"
abc
abc