diff options
author | Eric Stenson <ericsten@php.net> | 2013-12-13 10:42:32 -0800 |
---|---|---|
committer | Eric Stenson <ericsten@php.net> | 2013-12-13 10:42:32 -0800 |
commit | 50377b5bf2bc4cd6f77816a9216e035d71bc2ec8 (patch) | |
tree | 85f90c53fb1f5e29f2a8e336961d33c90b658bec /sapi/tux/php_tux.c | |
parent | 41eaac3491cfcad02ebab5f86ece018d9e3c4cc6 (diff) | |
download | php-git-50377b5bf2bc4cd6f77816a9216e035d71bc2ec8.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 'sapi/tux/php_tux.c')
0 files changed, 0 insertions, 0 deletions