diff options
| author | SVN Migration <svn@php.net> | 2003-05-27 17:24:10 +0000 |
|---|---|---|
| committer | SVN Migration <svn@php.net> | 2003-05-27 17:24:10 +0000 |
| commit | dc963b2f91ae48faae7edf4609a8c7427dc9317a (patch) | |
| tree | 5e9f8f68adf108d8b9a20103f9fcbd1063a70d7c /ext/bz2/tests | |
| parent | 858c75805fe042600327280402a80ca651a9fb90 (diff) | |
| download | php-git-php-4.3.2RC4.tar.gz | |
This commit was manufactured by cvs2svn to create tag 'php_4_3_2RC4'.php-4.3.2RC4
Diffstat (limited to 'ext/bz2/tests')
| -rw-r--r-- | ext/bz2/tests/with_files.phpt | 25 | ||||
| -rw-r--r-- | ext/bz2/tests/with_strings.phpt | 29 |
2 files changed, 0 insertions, 54 deletions
diff --git a/ext/bz2/tests/with_files.phpt b/ext/bz2/tests/with_files.phpt deleted file mode 100644 index cb98912d01..0000000000 --- a/ext/bz2/tests/with_files.phpt +++ /dev/null @@ -1,25 +0,0 @@ ---TEST-- -BZ2 with files ---SKIPIF-- -<?php if (!extension_loaded("bz2")) print "skip"; ?> ---POST-- ---GET-- ---FILE-- -<?php // $Id$ - -error_reporting(E_ALL); - -$filename = "testfile.bz2"; -$str = "This is a test string.\n"; -$bz = bzopen($filename, "w"); -bzwrite($bz, $str); -bzclose($bz); - -$bz = bzopen($filename, "r"); -print bzread($bz, 10); -print bzread($bz); -bzclose($bz); -unlink($filename); - ---EXPECT-- -This is a test string. diff --git a/ext/bz2/tests/with_strings.phpt b/ext/bz2/tests/with_strings.phpt deleted file mode 100644 index 09f2291bb4..0000000000 --- a/ext/bz2/tests/with_strings.phpt +++ /dev/null @@ -1,29 +0,0 @@ ---TEST-- -BZ2 with strings ---SKIPIF-- -<?php if (!extension_loaded("bz2")) print "skip"; ?> ---POST-- ---GET-- ---FILE-- -<?php // $Id$ - -error_reporting(E_ALL); - -# This FAILS -$blaat = <<<HEREDOC -This is some random data -HEREDOC; - -# This Works: (so, is heredoc related) -#$blaat= 'This is some random data'; - -$blaat2 = bzdecompress(bzcompress($blaat)); - -$tests = <<<TESTS - \$blaat === \$blaat2 -TESTS; - - include('tests/quicktester.inc'); - ---EXPECT-- -OK |
