summaryrefslogtreecommitdiff
path: root/ext/zip/tests
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2001-05-27 02:49:46 +0000
committerSterling Hughes <sterling@php.net>2001-05-27 02:49:46 +0000
commitea0f4078b5653cc6ce23c9c83d1d0e76bd7d963e (patch)
treedc149a9a71406cdd7fc26c923a24d4b5e8f8b09f /ext/zip/tests
parent3ceeb1ff40381c7f0793be55c3a5c7df76c986c1 (diff)
downloadphp-git-ea0f4078b5653cc6ce23c9c83d1d0e76bd7d963e.tar.gz
@ Renamed the ZZiplib extension to the Zip extension, function
@ names have also changed accordingly, functionality, has stayed @ constant. (Sterling)
Diffstat (limited to 'ext/zip/tests')
-rw-r--r--ext/zip/tests/001.phpt23
1 files changed, 23 insertions, 0 deletions
diff --git a/ext/zip/tests/001.phpt b/ext/zip/tests/001.phpt
new file mode 100644
index 0000000000..787ade9722
--- /dev/null
+++ b/ext/zip/tests/001.phpt
@@ -0,0 +1,23 @@
+--TEST--
+Check for zziplib presence
+--SKIPIF--
+<?php if (!extension_loaded("zip")) print "skip"; ?>
+--POST--
+--GET--
+--FILE--
+<?php
+echo "zip extension is available";
+/*
+ you can add regression tests for your extension here
+
+ the output of your test code has to be equal to the
+ text in the --EXPECT-- section below for the tests
+ to pass, differences between the output and the
+ expected text are interpreted as failure
+
+ see php4/tests/README for further information on
+ writing regression tests
+*/
+?>
+--EXPECT--
+zip extension is available