summaryrefslogtreecommitdiff
path: root/ext/ncurses/tests/001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ncurses/tests/001.phpt')
-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