From 79cb128c593626c00d765aff303f39074869b847 Mon Sep 17 00:00:00 2001 From: Steve Seear Date: Wed, 11 Jun 2008 12:40:34 +0000 Subject: Filesystem tests. --- .../tests/file/chmod_variation2-win32.phpt | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 ext/standard/tests/file/chmod_variation2-win32.phpt (limited to 'ext/standard/tests/file/chmod_variation2-win32.phpt') diff --git a/ext/standard/tests/file/chmod_variation2-win32.phpt b/ext/standard/tests/file/chmod_variation2-win32.phpt new file mode 100644 index 0000000000..bc379ffcf7 --- /dev/null +++ b/ext/standard/tests/file/chmod_variation2-win32.phpt @@ -0,0 +1,74 @@ +--TEST-- +chmod() with various paths +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +chmod() on a path containing .. and . +bool(true) +bool(true) +666 + +chmod() on a path containing .. with invalid directories +bool(true) +bool(true) +666 + +chmod() on a relative path from a different working directory +bool(true) +bool(true) +666 + +chmod() on a directory with a trailing / +bool(true) +bool(true) +666 -- cgit v1.2.1