Skip to content

Commit 3656a84

Browse files
committed
Skip file_put_contents_variation7.phpt on Windows
While the test obviously succeeds on Windows, it may occasionally conflict with file_put_contents_variation7-win32.phpt[1], so we skip it like we do for many other of these tests which have win32 pendants. [1] <https://github.com/php/php-src/actions/runs/11527743659/job/32093951818> Closes GH-16722.
1 parent 02ef371 commit 3656a84

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ext/standard/tests/file/file_put_contents_variation7.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Test file_put_contents() function : usage variation - various absolute and relative paths
33
--CREDITS--
44
Dave Kelsey <[email protected]>
5+
--SKIPIF--
6+
<?php
7+
if(substr(PHP_OS, 0, 3) == "WIN")
8+
die("skip Not for Windows");
9+
?>
510
--FILE--
611
<?php
712
echo "*** Testing file_put_contents() : usage variation ***\n";

0 commit comments

Comments
 (0)