diff options
author | Eric Stenson <ericsten@php.net> | 2013-12-13 10:42:32 -0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2013-12-15 16:51:21 +0800 |
commit | 330168a2477666212797095449029e78dcce0844 (patch) | |
tree | f2653b7dbbb14358f0dc42d8543b22bc4e9e9007 /ext/zip/lib/zip_fread.c | |
parent | ef73f85079e7563cb82afde35f0e89321257f0d9 (diff) | |
download | php-git-330168a2477666212797095449029e78dcce0844.tar.gz |
Fix tests expecting specific resource IDs
When Wincache or APC are installed, the resource IDs are not the same.
This is because Wincache takes a few resource objects for itself. As a
result, these tests become false positives.
On Windows boxes, the microtime precision is not granular enough
to reliably register a difference if two calls to uniqid() are made
concurrently. This is a fix to the uniqid() test to avoid the false
positive when run on Windows machines. Also, added a test to exercise
the 'more_entropy' variant of uniqid().
Diffstat (limited to 'ext/zip/lib/zip_fread.c')
0 files changed, 0 insertions, 0 deletions