From 857073b5076fa3ee54804b4f18026a04c9bb483e Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 17 Oct 2016 10:38:39 +0200 Subject: [PATCH 1/1] add glob_err test --- tests/glob/glob004.phpt | 72 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 tests/glob/glob004.phpt diff --git a/tests/glob/glob004.phpt b/tests/glob/glob004.phpt new file mode 100644 index 0000000..eec1912 --- /dev/null +++ b/tests/glob/glob004.phpt @@ -0,0 +1,72 @@ +--TEST-- +glob err +--INI-- +psi.directory={PWD}/../../psi.d:{PWD} +--SKIPIF-- + +--FILE-- +===TEST=== + +===DONE=== +--EXPECTF-- +===TEST=== +Permission denied: /etc/sudoers.d +bool(true) +array(4) { + ["gl_pathc"]=> + int(0) + ["gl_offs"]=> + int(0) + ["gl_flags"]=> + int(%d) + ["gl_pathv"]=> + array(0) { + } +} +Permission denied: /etc/sudoers.d +bool(true) +array(4) { + ["gl_pathc"]=> + int(0) + ["gl_offs"]=> + int(0) + ["gl_flags"]=> + int(%d) + ["gl_pathv"]=> + array(0) { + } +} +Permission denied: /etc/sudoers.d +bool(false) +array(4) { + ["gl_pathc"]=> + int(0) + ["gl_offs"]=> + int(0) + ["gl_flags"]=> + int(%d) + ["gl_pathv"]=> + array(0) { + } +} +===DONE=== -- 2.30.2