Browse Source

- skip on win, name.. name. are not valid names

pull/12/head
Pierre Joye 15 years ago
parent
commit
c97a56e77f
  1. 6
      ext/spl/tests/DirectoryIterator_getExtension_basic.phpt

6
ext/spl/tests/DirectoryIterator_getExtension_basic.phpt

@ -1,5 +1,11 @@
--TEST--
SPL: DirectoryIterator::getExtension() basic test
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip.. only for Windows');
}
?>
--FILE--
<?php
$dir = __DIR__ . DIRECTORY_SEPARATOR . md5('DirectoryIterator::getExtension') . DIRECTORY_SEPARATOR;

Loading…
Cancel
Save