xref: /php-uv/tests/999-uv_chdir.phpt (revision 99fbf652)
1--TEST--
2Check for uv_chdir
3--FILE--
4<?php
5uv_chdir(dirname(__FILE__));
6if (uv_cwd() == dirname(__FILE__)) {
7  echo "OK";
8} else {
9  echo "FAILED: expected " . dirname(__FILE__) . ", but " . uv_cwd();
10}
11?>
12--EXPECTF--
13OK
14