mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-30 04:29:01 +01:00
14 lines
221 B
PHP
14 lines
221 B
PHP
--TEST--
|
|
Check for uv_chdir
|
|
--FILE--
|
|
<?php
|
|
uv_chdir(dirname(__FILE__));
|
|
if (uv_cwd() == dirname(__FILE__)) {
|
|
echo "OK";
|
|
} else {
|
|
echo "FAILED: expected " . dirname(__FILE__) . ", but " . uv_cwd();
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
OK
|