projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix symbol redirect detection
[m6w6/ext-psi]
/
tests
/
stat
/
stat001.phpt
diff --git
a/tests/stat/stat001.phpt
b/tests/stat/stat001.phpt
index afbef565a621c2fde00cd1701956b22a889182e6..edfc45ff6384d794977f731962975fbfab52b91d 100644
(file)
--- a/
tests/stat/stat001.phpt
+++ b/
tests/stat/stat001.phpt
@@
-3,12
+3,13
@@
stat
--INI--
psi.directory={PWD}/../../psi.d:{PWD}
--SKIPIF--
--INI--
psi.directory={PWD}/../../psi.d:{PWD}
--SKIPIF--
-<?php
+<?php
extension_loaded("psi") or die("skip - need ext/psi");
extension_loaded("psi") or die("skip - need ext/psi");
+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===
@@
-58,4
+59,4
@@
array(13) {
["st_blocks"]=>
int(%d)
}
["st_blocks"]=>
int(%d)
}
-===DONE===
\ No newline at end of file
+===DONE===