summaryrefslogtreecommitdiff
path: root/ext/posix/tests/001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/posix/tests/001.phpt')
-rw-r--r--ext/posix/tests/001.phpt12
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/posix/tests/001.phpt b/ext/posix/tests/001.phpt
new file mode 100644
index 000000000..e6c629ce6
--- /dev/null
+++ b/ext/posix/tests/001.phpt
@@ -0,0 +1,12 @@
+--TEST--
+posix_access() with bogus paths
+--SKIPIF--
+<?php if (!extension_loaded('posix')) echo 'skip'; ?>
+--FILE--
+<?php
+
+var_dump(posix_access(str_repeat('bogus path', 1042)));
+
+?>
+--EXPECT--
+bool(false)