summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-06-29 14:46:51 +0200
committerPeter Kokot <peterkokot@gmail.com>2019-06-30 23:50:09 +0200
commit778f08ff06987ce4d7c8eaf9381b5d407479a5d9 (patch)
tree6b7ec164d0eff2faa53ffac4765f2e34e40cc79a
parent6c1c66befe3fb590a0e214c059f8b045f388731f (diff)
downloadphp-git-778f08ff06987ce4d7c8eaf9381b5d407479a5d9.tar.gz
Fix missing file and remove SKIP section
Test now passes on VC 14, 15 and 16 with current MSVC runtimes.
-rw-r--r--ext/standard/tests/file/php_fd_wrapper_04.phpt8
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/standard/tests/file/php_fd_wrapper_04.phpt b/ext/standard/tests/file/php_fd_wrapper_04.phpt
index 3946367ef0..2b3a69ce1a 100644
--- a/ext/standard/tests/file/php_fd_wrapper_04.phpt
+++ b/ext/standard/tests/file/php_fd_wrapper_04.phpt
@@ -1,13 +1,5 @@
--TEST--
php://fd wrapper: invalid file descriptor
---SKIPIF--
-<?php include('skipif.inc');
-if(substr(PHP_OS, 0, 3) == "WIN")
- die("skip Not for Windows");
-
-//we'd need a release and a test variation for windows, because in debug builds we get this message:
-//Warning: Invalid parameter detected in CRT function '_dup' (f:\dd\vctools\crt_bld\self_x86\crt\src\dup.c:52)
-//I greped the CRT sources and found no function capable of validating a file descriptor
--FILE--
<?php
fopen("php://fd/12", "w");