summaryrefslogtreecommitdiff
path: root/php
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2008-09-12 16:28:09 -0700
committerRuss Allbery <rra@stanford.edu>2008-09-12 16:28:09 -0700
commit37e44fc104870bb225e56a2a076a7e93e1c87da2 (patch)
treecc7cbbbdd030855fa9310996b1275230e3a5c5d4 /php
parent69d3d7f119944f7e848d7bc6060d514b1dbb392e (diff)
PHP: actually test loading the module
The module load test wasn't actually testing whether the module was loaded.
Diffstat (limited to 'php')
-rw-r--r--php/tests/001.phpt6
1 files changed, 1 insertions, 5 deletions
diff --git a/php/tests/001.phpt b/php/tests/001.phpt
index eb2717a..b6736b5 100644
--- a/php/tests/001.phpt
+++ b/php/tests/001.phpt
@@ -1,10 +1,6 @@
--TEST--
Check for remctl module
---SKIPIF--
-<?php if (!extension_load("remctl")) print "skip"; ?>
--FILE--
-<?php
- echo "remctl module is available";
-?>
+<?php if (extension_loaded("remctl")) echo "remctl module is available"; ?>
--EXPECT--
remctl module is available