summaryrefslogtreecommitdiff
path: root/tests/security/open_basedir_copy.phpt
diff options
context:
space:
mode:
authorJohannes Schlüter <johannes@php.net>2008-09-07 22:34:40 +0000
committerJohannes Schlüter <johannes@php.net>2008-09-07 22:34:40 +0000
commit27637afb90cdd484d63335d467e4f51c1b7074b0 (patch)
tree5e72b84b1162850233ffba02d51837cd5297fd51 /tests/security/open_basedir_copy.phpt
parent6495909d169189f3350a3a12fb1f2b5bbfbff0d9 (diff)
downloadphp-git-27637afb90cdd484d63335d467e4f51c1b7074b0.tar.gz
- MFH: The exact error message might differ (it's "Not owner" on Solaris)
Diffstat (limited to 'tests/security/open_basedir_copy.phpt')
-rw-r--r--tests/security/open_basedir_copy.phpt16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/security/open_basedir_copy.phpt b/tests/security/open_basedir_copy.phpt
index 8f0f7a91fd..9faaa82ac0 100644
--- a/tests/security/open_basedir_copy.phpt
+++ b/tests/security/open_basedir_copy.phpt
@@ -36,42 +36,42 @@ bool(true)
Warning: copy(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d
-Warning: copy(../bad): failed to open stream: Operation not permitted in %s on line %d
+Warning: copy(../bad): failed to open stream: %s in %s on line %d
bool(false)
Warning: copy(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: copy(../bad/bad.txt): failed to open stream: Operation not permitted in %s on line %d
+Warning: copy(../bad/bad.txt): failed to open stream: %s in %s on line %d
bool(false)
Warning: copy(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d
-Warning: copy(..): failed to open stream: Operation not permitted in %s on line %d
+Warning: copy(..): failed to open stream: %s in %s on line %d
bool(false)
Warning: copy(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d
-Warning: copy(../): failed to open stream: Operation not permitted in %s on line %d
+Warning: copy(../): failed to open stream: %s in %s on line %d
bool(false)
Warning: copy(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d
-Warning: copy(/): failed to open stream: Operation not permitted in %s on line %d
+Warning: copy(/): failed to open stream: %s in %s on line %d
bool(false)
Warning: copy(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
-Warning: copy(../bad/.): failed to open stream: Operation not permitted in %s on line %d
+Warning: copy(../bad/.): failed to open stream: %s in %s on line %d
bool(false)
Warning: copy(): open_basedir restriction in effect. File(../bad/./bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: copy(../bad/./bad.txt): failed to open stream: Operation not permitted in %s on line %d
+Warning: copy(../bad/./bad.txt): failed to open stream: %s in %s on line %d
bool(false)
Warning: copy(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
-Warning: copy(./../.): failed to open stream: Operation not permitted in %s on line %d
+Warning: copy(./../.): failed to open stream: %s in %s on line %d
bool(false)
bool(true)
bool(true)