projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
travis: update
[m6w6/ext-psi]
/
tests
/
stat
/
stat001.phpt
diff --git
a/tests/stat/stat001.phpt
b/tests/stat/stat001.phpt
index afbef565a621c2fde00cd1701956b22a889182e6..75034f1c45a3582d7646b3e3d428f5ee382210d0 100644
(file)
--- a/
tests/stat/stat001.phpt
+++ b/
tests/stat/stat001.phpt
@@
-3,12
+3,12
@@
stat
--INI--
psi.directory={PWD}/../../psi.d:{PWD}
--SKIPIF--
--INI--
psi.directory={PWD}/../../psi.d:{PWD}
--SKIPIF--
-<?php
-
extension_loaded("psi") or die("skip - need ext/psi
");
+<?php
+
PHP_OS === "Linux" or die("skip - only for Linux
");
?>
--FILE--
===TEST===
?>
--FILE--
===TEST===
-<?php
+<?php
var_dump(psi\stat(__FILE__, $stat), $stat);
?>
===DONE===
var_dump(psi\stat(__FILE__, $stat), $stat);
?>
===DONE===
@@
-31,7
+31,7
@@
array(13) {
["st_rdev"]=>
int(%d)
["st_size"]=>
["st_rdev"]=>
int(%d)
["st_size"]=>
- int(7
6
)
+ int(7
5
)
["st_atim"]=>
array(2) {
["tv_sec"]=>
["st_atim"]=>
array(2) {
["tv_sec"]=>
@@
-58,4
+58,4
@@
array(13) {
["st_blocks"]=>
int(%d)
}
["st_blocks"]=>
int(%d)
}
-===DONE===
\ No newline at end of file
+===DONE===