summaryrefslogtreecommitdiff
path: root/ext/ncurses/tests
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2001-06-12 21:15:49 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2001-06-12 21:15:49 +0000
commit453a4ae985d230e6bba48eb9923fca9d61409099 (patch)
tree27aac7eb523b32e140bfc8b9d0991ab2acfab971 /ext/ncurses/tests
parent0d6661b43646a09a85ed28c721077d496f77a648 (diff)
downloadphp-git-453a4ae985d230e6bba48eb9923fca9d61409099.tar.gz
initial version of ncurses extension,
see example1 for whats possible right now
Diffstat (limited to 'ext/ncurses/tests')
-rw-r--r--ext/ncurses/tests/001.phpt23
1 files changed, 23 insertions, 0 deletions
diff --git a/ext/ncurses/tests/001.phpt b/ext/ncurses/tests/001.phpt
new file mode 100644
index 0000000000..90d9c1452f
--- /dev/null
+++ b/ext/ncurses/tests/001.phpt
@@ -0,0 +1,23 @@
+--TEST--
+Check for ncurses presence
+--SKIPIF--
+<?php if (!extension_loaded("ncurses")) print "skip"; ?>
+--POST--
+--GET--
+--FILE--
+<?php
+echo "ncurses 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--
+ncurses extension is available \ No newline at end of file