X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Ftime%2Ftime001.phpt;fp=tests%2Ftime%2Ftime001.phpt;h=8c35eb982e9a04119b432feb73859d091e4e21b3;hb=7474b3e23338ea03bcd65551959e2582cc455f9f;hp=0000000000000000000000000000000000000000;hpb=9c71742e3aa27507196cf34daa9eeecde8545a40;p=m6w6%2Fext-psi diff --git a/tests/time/time001.phpt b/tests/time/time001.phpt new file mode 100644 index 0000000..8c35eb9 --- /dev/null +++ b/tests/time/time001.phpt @@ -0,0 +1,57 @@ +--TEST-- +gettimeofday +--INI-- +psi.directory = {PWD} +--SKIPIF-- + +--FILE-- +===TEST=== + +===DONE=== +--EXPECTF-- +===TEST=== +array(4) { + ["sec"]=> + int(1%d) + ["usec"]=> + int(%d) + ["minuteswest"]=> + int(%d) + ["dsttime"]=> + int(%d) +} +int(0) +int(0) +array(2) { + ["tv_sec"]=> + int(1%d) + ["tv_usec"]=> + int(%d) +} +int(0) +array(2) { + ["tv_sec"]=> + int(1%d) + ["tv_usec"]=> + int(%d) +} +array(2) { + ["tz_minuteswest"]=> + int(%d) + ["tz_dsttime"]=> + int(%d) +} +bool(true) +===DONE=== + \ No newline at end of file