summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/ftruncate_error.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/ftruncate_error.phpt')
-rw-r--r--ext/standard/tests/file/ftruncate_error.phpt52
1 files changed, 0 insertions, 52 deletions
diff --git a/ext/standard/tests/file/ftruncate_error.phpt b/ext/standard/tests/file/ftruncate_error.phpt
index e97ea88281..a6be930366 100644
--- a/ext/standard/tests/file/ftruncate_error.phpt
+++ b/ext/standard/tests/file/ftruncate_error.phpt
@@ -122,55 +122,3 @@ Warning: ftruncate(): supplied argument is not a valid stream resource in %s on
bool(false)
int(36)
Done
---UEXPECTF--
-*** Testing ftruncate() : error conditions ***
-
- Initial file size = 36
--- Testing ftruncate() with less than expected number of arguments --
-
-Warning: Wrong parameter count for ftruncate() in %s on line %d
-NULL
-
-Warning: Wrong parameter count for ftruncate() in %s on line %d
-NULL
-int(36)
--- Testing ftruncate() with more than expected number of arguments --
-
-Warning: Wrong parameter count for ftruncate() in %s on line %d
-NULL
-int(36)
--- Testing ftruncate() with invalid file pointer --
--- Iteration 1 --
-
-Warning: ftruncate(): supplied argument is not a valid stream resource in %s on line %d
-bool(false)
--- Iteration 2 --
-
-Warning: ftruncate(): supplied argument is not a valid stream resource in %s on line %d
-bool(false)
--- Iteration 3 --
-
-Warning: ftruncate(): supplied argument is not a valid stream resource in %s on line %d
-bool(false)
--- Iteration 4 --
-
-Warning: ftruncate(): supplied argument is not a valid stream resource in %s on line %d
-bool(false)
--- Iteration 5 --
-
-Warning: ftruncate(): supplied argument is not a valid stream resource in %s on line %d
-bool(false)
--- Iteration 6 --
-
-Warning: ftruncate(): supplied argument is not a valid stream resource in %s on line %d
-bool(false)
--- Testing ftruncate() with closed/unset file handle --
-
-Warning: ftruncate(): 5 is not a valid stream resource in %s on line %d
-bool(false)
-int(36)
-
-Warning: ftruncate(): supplied argument is not a valid stream resource in %s on line %d
-bool(false)
-int(36)
-Done