summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStefan Esser2015-12-17 16:35:34 +0100
committerStefan Esser2015-12-17 16:35:34 +0100
commitc4c9192839ba7842f5da58f5fd525056c77cfe54 (patch)
tree810854ddb53e03d7320570ec8d634390a849d6b2 /tests
parentaee7faf18880573b60606756a61faea32a1bb89a (diff)
Continue the actual porting work on GitHub
Diffstat (limited to 'tests')
-rw-r--r--tests/001.phpt21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/001.phpt b/tests/001.phpt
new file mode 100644
index 0000000..8e68413
--- /dev/null
+++ b/tests/001.phpt
@@ -0,0 +1,21 @@
1--TEST--
2Check for suhosin7 presence
3--SKIPIF--
4<?php if (!extension_loaded("suhosin7")) print "skip"; ?>
5--FILE--
6<?php
7echo "suhosin7 extension is available";
8/*
9 you can add regression tests for your extension here
10
11 the output of your test code has to be equal to the
12 text in the --EXPECT-- section below for the tests
13 to pass, differences between the output and the
14 expected text are interpreted as failure
15
16 see php7/README.TESTING for further information on
17 writing regression tests
18*/
19?>
20--EXPECT--
21suhosin7 extension is available