ext-uv/tests/320-fs-event.phpt

19 lines
411 B
Plaintext
Raw Normal View History

2012-07-04 02:40:06 +02:00
--TEST--
Check for fs event
--FILE--
<?php
2012-07-05 15:54:10 +02:00
define("DIRECTORY_PATH", dirname(__FILE__) . "/fixtures/example_directory");
/*
2012-07-04 02:40:06 +02:00
$ev = uv_fs_event_init(uv_default_loop(),dirname(DIRECTORY_PATH), function($rsc, $name, $event, $stat) {
2012-07-05 15:54:10 +02:00
echo "finished" . PHP_EOL;
uv_close($rsc);
2012-07-04 02:40:06 +02:00
},0);
uv_fs_mkdir(uv_default_loop(), DIRECTORY_PATH, 0755, function($result){
@rmdir(DIRECTORY_PATH);
});
uv_run();
*/
--EXPECT--