ext-uv/tests/999-uv_cwd.phpt

16 lines
216 B
Plaintext
Raw Normal View History

2012-06-25 06:05:26 +02:00
--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