ext-uv/tests/311-fs-rmdir.phpt

17 lines
299 B
Plaintext
Raw Normal View History

2012-07-03 16:10:05 +02:00
--TEST--
Check for fs rmdir
--FILE--
<?php
define("DIRECTORY_PATH", dirname(__FILE__) . "/fixtures/example_directory");
@rmdir(DIRECTORY_PATH);
mkdir(DIRECTORY_PATH, 0755);
2015-01-18 02:58:40 +01:00
uv_fs_rmdir(uv_default_loop(), DIRECTORY_PATH, function($result) {
var_dump($result);
2012-07-03 16:10:05 +02:00
});
uv_run();
2015-01-18 02:58:40 +01:00
--EXPECTF--
2020-02-15 17:40:10 +01:00
int(0)