]> granicus.if.org Git - php/commitdiff
shane added is_executable() for windows last night
authorKai Schroeder <k.schroeder@php.net>
Sun, 9 Feb 2003 13:54:01 +0000 (13:54 +0000)
committerKai Schroeder <k.schroeder@php.net>
Sun, 9 Feb 2003 13:54:01 +0000 (13:54 +0000)
ext/standard/tests/file/003-win32.phpt [deleted file]

diff --git a/ext/standard/tests/file/003-win32.phpt b/ext/standard/tests/file/003-win32.phpt
deleted file mode 100644 (file)
index 09940f0..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
---TEST--
-is_*() and file_exists() return values are boolean.
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) != 'WIN') {
-    die('skip only for Windows');
-}
-?>
---POST--
---GET--
---FILE--
-<?php
-
-$funcs = array(
-    'is_writable',
-    'is_readable',
-    'is_file',
-    'file_exists',
-);
-
-$filename="";
-
-foreach ($funcs as $test) {
-    $bb = $test($filename);
-    echo gettype($bb)."\n";
-    clearstatcache();
-}
-
-$filename="run-tests.php";
-
-foreach ($funcs as $test) {
-    $bb = $test($filename);
-    echo gettype($bb)."\n";
-    clearstatcache();
-}
-
-?>
---EXPECT--
-boolean
-boolean
-boolean
-boolean
-boolean
-boolean
-boolean
-boolean