]> granicus.if.org Git - php/commitdiff
- MFH: Fix skipif
authorJohannes Schlüter <johannes@php.net>
Thu, 3 May 2007 12:44:48 +0000 (12:44 +0000)
committerJohannes Schlüter <johannes@php.net>
Thu, 3 May 2007 12:44:48 +0000 (12:44 +0000)
Zend/tests/bug40236.phpt

index 106784a70e8dd0f5507bdb123409d25d3eb303a9..862eae5a9770e39fa4e5562c2f8cfcf246424700 100755 (executable)
@@ -1,7 +1,10 @@
 --TEST--
 Bug #40236 (php -a function allocation eats memory)
 --SKIPIF--
+<?php
 if (php_sapi_name() != "cli") die("skip CLI only");
+if (extension_loaded("readline")) die("skip Test doesn't support readline");
+?>
 --FILE--
 <?php
 $php = getenv('TEST_PHP_EXECUTABLE');