mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-30 04:29:01 +01:00
16 lines
296 B
Plaintext
16 lines
296 B
Plaintext
|
--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
|