Skip to content

Commit 1fcd6cd

Browse files
committed
Fix #80139: copy_variation5.phpt fails when run on bind mount
This test case is not supposed to run on case-insensitive file system; just checking for macOS/Windows doesn't cut it.
1 parent 6a4eeb1 commit 1fcd6cd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ext/standard/tests/file/copy_variation5.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
Test copy() function: usage variations - destination file names(case sensitive)
33
--SKIPIF--
44
<?php
5-
if( (stristr(PHP_OS, "Darwin")) || (stristr(PHP_OS, "Win")) )
6-
die("skip do not run on MacOS/Windows");
5+
if (file_exists(__DIR__ . '/COPY_VARIATION5.PHPT')) die('skip requires case-sensitive file system');
76
?>
87
--FILE--
98
<?php

0 commit comments

Comments
 (0)