Annotation of embedaddon/php/ext/standard/tests/file/bug49047.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Test fopen() function : variation: interesting paths, no use include path
3: --FILE--
4: <?php
5: // fopen with interesting windows paths.
6: $testdir = __DIR__ . '/bug47177.tmpdir';
7: mkdir($testdir);
8: $t = time() - 3600;
9: touch($testdir, $t);
10: clearstatcache();
11: $t2 = filemtime($testdir);
12: if ($t2 != $t) echo "failed (got $t2, expecting $t)\n";
13: rmdir($testdir);
14: echo "Ok.";
15: ?>
16: --EXPECTF--
17: Ok.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>