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 3b180f92e881a09c9d25c4a8339c3f6adb12e677..75034f1c45a3582d7646b3e3d428f5ee382210d0 100644
(file)
--- a/
tests/stat/stat001.phpt
+++ b/
tests/stat/stat001.phpt
@@
-1,14
+1,14
@@
--TEST--
stat
--INI--
--TEST--
stat
--INI--
-psi.directory={PWD}/../../psi
s
:{PWD}
+psi.directory={PWD}/../../psi
.d
:{PWD}
--SKIPIF--
--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===