diff options
author | Steph Fox <sfox@php.net> | 2008-05-27 09:34:55 +0000 |
---|---|---|
committer | Steph Fox <sfox@php.net> | 2008-05-27 09:34:55 +0000 |
commit | a4cb8c536fc896f8366ab87980659800a72f461c (patch) | |
tree | 1198a17fa0f381c63c353ce9a92233945ed87546 /ext/standard/tests/file/fread_basic.phpt | |
parent | 4ccb8869e7c106a3c03f65b406e2916a09313d71 (diff) | |
download | php-git-a4cb8c536fc896f8366ab87980659800a72f461c.tar.gz |
- killed off UEXPECT
Diffstat (limited to 'ext/standard/tests/file/fread_basic.phpt')
-rw-r--r-- | ext/standard/tests/file/fread_basic.phpt | 541 |
1 files changed, 1 insertions, 540 deletions
diff --git a/ext/standard/tests/file/fread_basic.phpt b/ext/standard/tests/file/fread_basic.phpt index 2e946d3316..0e97b8ae0c 100644 --- a/ext/standard/tests/file/fread_basic.phpt +++ b/ext/standard/tests/file/fread_basic.phpt @@ -99,546 +99,7 @@ $file_content_types = array("numeric","text","text_with_new_line","alphanumeric" } // end of outer foreach loop echo "Done\n"; ?> ---EXPECTF-- -*** Testing fread() basic operations *** - --- Testing fread) with file having data of type numeric -- --- File opened in mode r -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "950b7457d1deb6332f2fc5d42f3129d6" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "950b7457d1deb6332f2fc5d42f3129d6" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "4501f99f2b79d0345f26f1394aca58a3" -bool(true) --- File opened in mode rb -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "950b7457d1deb6332f2fc5d42f3129d6" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "950b7457d1deb6332f2fc5d42f3129d6" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "4501f99f2b79d0345f26f1394aca58a3" -bool(true) --- File opened in mode rt -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "950b7457d1deb6332f2fc5d42f3129d6" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "950b7457d1deb6332f2fc5d42f3129d6" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "4501f99f2b79d0345f26f1394aca58a3" -bool(true) --- File opened in mode r+ -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "950b7457d1deb6332f2fc5d42f3129d6" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "950b7457d1deb6332f2fc5d42f3129d6" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "4501f99f2b79d0345f26f1394aca58a3" -bool(true) --- File opened in mode r+b -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "950b7457d1deb6332f2fc5d42f3129d6" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "950b7457d1deb6332f2fc5d42f3129d6" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "4501f99f2b79d0345f26f1394aca58a3" -bool(true) --- File opened in mode r+t -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "950b7457d1deb6332f2fc5d42f3129d6" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "950b7457d1deb6332f2fc5d42f3129d6" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "4501f99f2b79d0345f26f1394aca58a3" -bool(true) - --- Testing fread) with file having data of type text -- --- File opened in mode r -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "e486000c4c8452774f746a27658d87fa" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "e486000c4c8452774f746a27658d87fa" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd" -bool(true) --- File opened in mode rb -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "e486000c4c8452774f746a27658d87fa" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "e486000c4c8452774f746a27658d87fa" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd" -bool(true) --- File opened in mode rt -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "e486000c4c8452774f746a27658d87fa" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "e486000c4c8452774f746a27658d87fa" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd" -bool(true) --- File opened in mode r+ -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "e486000c4c8452774f746a27658d87fa" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "e486000c4c8452774f746a27658d87fa" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd" -bool(true) --- File opened in mode r+b -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "e486000c4c8452774f746a27658d87fa" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "e486000c4c8452774f746a27658d87fa" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd" -bool(true) --- File opened in mode r+t -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "e486000c4c8452774f746a27658d87fa" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "e486000c4c8452774f746a27658d87fa" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "2ec76a59f8c44b8f8a0f5139f61bb1bd" -bool(true) - --- Testing fread) with file having data of type text_with_new_line -- --- File opened in mode r -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "b09c8026a64a88d36d4c2f17983964bb" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "b09c8026a64a88d36d4c2f17983964bb" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "a148fa8110bbac875d84fc9d7056c0a1" -bool(true) --- File opened in mode rb -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "b09c8026a64a88d36d4c2f17983964bb" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "b09c8026a64a88d36d4c2f17983964bb" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "a148fa8110bbac875d84fc9d7056c0a1" -bool(true) --- File opened in mode rt -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "b09c8026a64a88d36d4c2f17983964bb" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "b09c8026a64a88d36d4c2f17983964bb" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "a148fa8110bbac875d84fc9d7056c0a1" -bool(true) --- File opened in mode r+ -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "b09c8026a64a88d36d4c2f17983964bb" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "b09c8026a64a88d36d4c2f17983964bb" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "a148fa8110bbac875d84fc9d7056c0a1" -bool(true) --- File opened in mode r+b -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "b09c8026a64a88d36d4c2f17983964bb" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "b09c8026a64a88d36d4c2f17983964bb" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "a148fa8110bbac875d84fc9d7056c0a1" -bool(true) --- File opened in mode r+t -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "b09c8026a64a88d36d4c2f17983964bb" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "b09c8026a64a88d36d4c2f17983964bb" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "a148fa8110bbac875d84fc9d7056c0a1" -bool(true) - --- Testing fread) with file having data of type alphanumeric -- --- File opened in mode r -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "3fabd48d8eaa65c14e0d93d6880c560c" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "3fabd48d8eaa65c14e0d93d6880c560c" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "a49d752f980184c7f44568e930f89c72" -bool(true) --- File opened in mode rb -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "3fabd48d8eaa65c14e0d93d6880c560c" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "3fabd48d8eaa65c14e0d93d6880c560c" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "a49d752f980184c7f44568e930f89c72" -bool(true) --- File opened in mode rt -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "3fabd48d8eaa65c14e0d93d6880c560c" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "3fabd48d8eaa65c14e0d93d6880c560c" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "a49d752f980184c7f44568e930f89c72" -bool(true) --- File opened in mode r+ -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "3fabd48d8eaa65c14e0d93d6880c560c" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "3fabd48d8eaa65c14e0d93d6880c560c" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "a49d752f980184c7f44568e930f89c72" -bool(true) --- File opened in mode r+b -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "3fabd48d8eaa65c14e0d93d6880c560c" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "3fabd48d8eaa65c14e0d93d6880c560c" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "a49d752f980184c7f44568e930f89c72" -bool(true) --- File opened in mode r+t -- -int(0) -bool(false) -Reading 1024 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(false) -string(32) "3fabd48d8eaa65c14e0d93d6880c560c" -bool(true) -int(0) -bool(false) -Reading 1030 bytes from file, expecting 1024 bytes ... OK -int(1024) -bool(true) -string(32) "3fabd48d8eaa65c14e0d93d6880c560c" -bool(true) -int(0) -bool(false) -Reading 1000 bytes from file, expecting 1000 bytes ... OK -int(1000) -bool(false) -string(32) "a49d752f980184c7f44568e930f89c72" -bool(true) -Done ---UEXPECTF-- +--EXPECT-- *** Testing fread() basic operations *** -- Testing fread) with file having data of type numeric -- |