]> granicus.if.org Git - php/commitdiff
- skip on win, name.. name. are not valid names
authorPierre Joye <pajoye@php.net>
Tue, 6 Sep 2011 07:23:20 +0000 (07:23 +0000)
committerPierre Joye <pajoye@php.net>
Tue, 6 Sep 2011 07:23:20 +0000 (07:23 +0000)
ext/spl/tests/DirectoryIterator_getExtension_basic.phpt

index 20ef3bf36e8d7ac614acc352e3e278133ea288b7..6d5d5e62ce42a3105235b547651477d2c89b8096 100644 (file)
@@ -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;