1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 23:18:13 +02:00
Files
archived-php-src/ext/standard/tests/file/bug55124.phpt
T
Nikita Popov 45f7b2bcc8 Fix CRLF line-endings in tests
Also fix a single instance of CRLF in ibase_query.c.
2016-11-20 22:31:24 +01:00

19 lines
290 B
PHP

--TEST--
Bug #55124 (recursive mkdir fails with current (dot) directory in path)
--FILE--
<?php
$old_dir_path = getcwd();
chdir(__DIR__);
mkdir('a/./b', 0755, true);
if (is_dir('a/b')) {
rmdir('a/b');
}
if (is_dir('./a')) {
rmdir('a');
}
chdir($old_dir_path);
echo "OK";
?>
--EXPECT--
OK