projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
refactor to psi_call
[m6w6/ext-psi]
/
tests
/
time
/
time001.phpt
diff --git
a/tests/time/time001.phpt
b/tests/time/time001.phpt
index 8c35eb982e9a04119b432feb73859d091e4e21b3..e6e53843c1a56500e2e2037f8a4ade163c3efc23 100644
(file)
--- a/
tests/time/time001.phpt
+++ b/
tests/time/time001.phpt
@@
-1,7
+1,7
@@
--TEST--
gettimeofday
--INI--
--TEST--
gettimeofday
--INI--
-psi.directory = {PWD}
+psi.directory = {PWD}
/../../psis:{PWD}
--SKIPIF--
<?php
extension_loaded("psi") or die("skip - need ext/psi");
--SKIPIF--
<?php
extension_loaded("psi") or die("skip - need ext/psi");
@@
-17,6
+17,7
@@
var_dump(psi\gettimeofday($tv), $tv);
var_dump(psi\gettimeofday($tv, $tz), $tv, $tz);
var_dump(abs($ar["sec"] - $tv["tv_sec"]) <= 1);
var_dump(psi\gettimeofday($tv, $tz), $tv, $tz);
var_dump(abs($ar["sec"] - $tv["tv_sec"]) <= 1);
+
?>
===DONE===
--EXPECTF--
?>
===DONE===
--EXPECTF--