ext-uv/tests/999-uv_cwd.phpt
Shuhei Tanuma 9a0624ecfc fix uv_cwd
2012-06-25 13:05:42 +09:00

16 lines
216 B
PHP

--TEST--
Check for uv_cwd
--FILE--
<?php
$cwd = uv_cwd();
$expected = getcwd();
if ($cwd == $expected) {
echo "OK" . PHP_EOL;
} else {
echo "FAILED: expected {$expected}, but {$cwd}" . PHP_EOL;
}
--EXPECT--
OK