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