X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=tests%2Fstat%2Fstat002.phpt;fp=tests%2Fstat%2Fstat002.phpt;h=b8fd9b9e0c9c22aacc5e6ecbae66cbe4c859c0f9;hp=0000000000000000000000000000000000000000;hb=f18f62c084371e0da16305db4de27bfa124934c1;hpb=6f10fb5abd8d46fbfa5b447983f6101fc170585c diff --git a/tests/stat/stat002.phpt b/tests/stat/stat002.phpt new file mode 100644 index 0000000..b8fd9b9 --- /dev/null +++ b/tests/stat/stat002.phpt @@ -0,0 +1,81 @@ +--TEST-- +stat +--INI-- +psi.directory={PWD}/../../psi.d:{PWD} +--SKIPIF-- + +--FILE-- +===TEST=== + +===DONE=== +--EXPECTF-- +===TEST=== +int(0) +array(20) { + ["st_dev"]=> + int(%d) + ["st_ino"]=> + int(%d) + ["st_mode"]=> + int(%d) + ["st_nlink"]=> + int(1) + ["st_uid"]=> + int(%d) + ["st_gid"]=> + int(%d) + ["st_rdev"]=> + int(%d) + ["st_size"]=> + int(75) + ["st_atimespec"]=> + array(2) { + ["tv_sec"]=> + int(1%d) + ["tv_nsec"]=> + int(%d) + } + ["st_atime"]=> + int(1%d) + ["st_mtimespec"]=> + array(2) { + ["tv_sec"]=> + int(1%d) + ["tv_nsec"]=> + int(%d) + } + ["st_mtime"]=> + int(1%d) + ["st_ctimespec"]=> + array(2) { + ["tv_sec"]=> + int(1%d) + ["tv_nsec"]=> + int(%d) + } + ["st_ctime"]=> + int(1%d) + ["st_birthtimespec"]=> + array(2) { + ["tv_sec"]=> + int(1%d) + ["tv_nsec"]=> + int(%d) + } + ["st_birthtime"]=> + int(1%d) + ["st_blksize"]=> + int(%d) + ["st_blocks"]=> + int(%d) + ["st_flags"]=> + int(%d) + ["st_gen"]=> + int(%d) +} +===DONE===