Skip to content

Commit c97376f

Browse files
committed
posix: validate mode argument in posix_mkfifo()
1 parent 7b8d431 commit c97376f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ext/standard/tests/file/posix_mkfifo_invalid_mode.phpt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
--TEST--
22
posix_mkfifo(): invalid mode argument
3+
--SKIPIF--
4+
<?php
5+
if (!function_exists("posix_mkfifo")) {
6+
die("skip no posix_mkfifo()");
7+
}
8+
?>
39
--FILE--
410
<?php
511

0 commit comments

Comments
 (0)