diff options
author | Hartmut Holzgraefe <hholzgra@php.net> | 2001-06-12 21:15:49 +0000 |
---|---|---|
committer | Hartmut Holzgraefe <hholzgra@php.net> | 2001-06-12 21:15:49 +0000 |
commit | 453a4ae985d230e6bba48eb9923fca9d61409099 (patch) | |
tree | 27aac7eb523b32e140bfc8b9d0991ab2acfab971 /ext/ncurses/tests | |
parent | 0d6661b43646a09a85ed28c721077d496f77a648 (diff) | |
download | php-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.phpt | 23 |
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 |