ext-uv/tests/311-fs-rmdir.phpt
2012-07-03 23:10:05 +09:00

16 lines
296 B
PHP

--TEST--
Check for fs rmdir
--FILE--
<?php
define("DIRECTORY_PATH", dirname(__FILE__) . "/fixtures/example_directory");
@rmdir(DIRECTORY_PATH);
mkdir(DIRECTORY_PATH, 0755);
uv_fs_rmdir(uv_default_loop(), DIRECTORY_PATH, function($result){
echo $result . PHP_EOL;
});
uv_run();
--EXPECT--
0