summaryrefslogtreecommitdiff
path: root/ext/bz2/tests
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bz2/tests')
-rw-r--r--ext/bz2/tests/with_files.phpt25
-rw-r--r--ext/bz2/tests/with_strings.phpt29
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