summaryrefslogtreecommitdiff
path: root/ext/skeleton/tests
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2003-06-29 16:07:18 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2003-06-29 16:07:18 +0000
commitf355c4c5bbd0d02b838a056c8e081ee6fcd1e0d0 (patch)
treecb7e62d66cdea0d59b6e8be2a0223c1d7c219a52 /ext/skeleton/tests
parent913cec65517f11ebd972f920d1d320b853a175dd (diff)
downloadphp-git-f355c4c5bbd0d02b838a056c8e081ee6fcd1e0d0.tar.gz
ok, re-adding this mostly un-maintained awk/sed/sh nightmare for now ...
Diffstat (limited to 'ext/skeleton/tests')
-rw-r--r--ext/skeleton/tests/001.phpt24
1 files changed, 24 insertions, 0 deletions
diff --git a/ext/skeleton/tests/001.phpt b/ext/skeleton/tests/001.phpt
new file mode 100644
index 0000000000..7ef8472db3
--- /dev/null
+++ b/ext/skeleton/tests/001.phpt
@@ -0,0 +1,24 @@
+--TEST--
+Check for extname presence
+--SKIPIF--
+<?php if (!extension_loaded("extname")) print "skip"; ?>
+--POST--
+--GET--
+--INI--
+--FILE--
+<?php
+echo "extname 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/README.TESTING for further information on
+ writing regression tests
+*/
+?>
+--EXPECT--
+extname extension is available