Skip to content

Commit eff12e5

Browse files
committed
This test isn't supposed to pass on windows
1 parent df3b9a1 commit eff12e5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ext/standard/tests/file/lstat_stat_variation22.phpt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Test lstat() and stat() functions: usage variations - invalid filenames
33
--CREDITS--
44
Dave Kelsey <d_kelsey@uk.ibm.com>
5+
--SKIPIF--
6+
<?php
7+
if (substr(PHP_OS, 0, 3) == 'WIN') {
8+
die('skip ... not for Windows');
9+
}
510
--FILE--
611
<?php
712
/* Prototype: array lstat ( string $filename );
@@ -46,4 +51,4 @@ bool(false)
4651

4752
Warning: lstat(): Lstat failed for | in %s on line %d
4853
bool(false)
49-
Done
54+
Done

0 commit comments

Comments
 (0)