From: Michael Wallner Date: Mon, 17 Oct 2016 08:38:39 +0000 (+0200) Subject: add glob_err test X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=857073b5076fa3ee54804b4f18026a04c9bb483e;p=m6w6%2Fext-psi add glob_err test --- 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===