CPP builtins
[m6w6/ext-psi] / tests / stat / stat001.phpt
index c4b4b968892e918f62251fbf1ae5ad642f0c8191..ee390618e2f2fe8a5aca1491d27888d769a77014 100644 (file)
@@ -1,14 +1,15 @@
 --TEST--
 stat
 --INI--
-psi.directory={PWD}
+psi.directory={PWD}/../../psi.d:{PWD}
 --SKIPIF--
-<?php 
+<?php
 extension_loaded("psi") or die("skip - need ext/psi");
+PHP_OS === "Linux" or die("skip - only for Linux");
 ?>
 --FILE--
 ===TEST===
-<?php 
+<?php
 var_dump(psi\stat(__FILE__, $stat), $stat);
 ?>
 ===DONE===
@@ -31,7 +32,7 @@ array(13) {
   ["st_rdev"]=>
   int(%d)
   ["st_size"]=>
-  int(76)
+  int(75)
   ["st_atim"]=>
   array(2) {
     ["tv_sec"]=>
@@ -58,4 +59,4 @@ array(13) {
   ["st_blocks"]=>
   int(%d)
 }
-===DONE===
\ No newline at end of file
+===DONE===