From d4664800ac8c4a030ae7e22c01a4da84a8a2fed7 Mon Sep 17 00:00:00 2001 From: Jani Taskinen Date: Wed, 21 Nov 2007 11:31:49 +0000 Subject: [PATCH] - Added test for chown bug --- ext/standard/tests/file/chown.phpt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ext/standard/tests/file/chown.phpt diff --git a/ext/standard/tests/file/chown.phpt b/ext/standard/tests/file/chown.phpt new file mode 100644 index 0000000000..6c2d357c14 --- /dev/null +++ b/ext/standard/tests/file/chown.phpt @@ -0,0 +1,13 @@ +--TEST-- +chown() with NULL as user name +--FILE-- + +--EXPECTF-- +Warning: chown(): parameter 2 should be string or integer, null given in %schown.php on line %d +ALIVE +--UEXPECTF-- +Warning: chown(): parameter 2 should be string or integer, null given in %schown.php on line %d +ALIVE -- 2.50.1