svn: /pear2/Pyrus/trunk/tests/ScriptFrontend/Commands/ build.phpt
| From: | Brett Bieber | Date: | Tue, 03 Nov 2009 01:56:15 +0000 |
| Subject: | svn: /pear2/Pyrus/trunk/tests/ScriptFrontend/Commands/ build.phpt | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9012@lists.php.net to get a copy of this message | ||
saltybeagle Tue, 03 Nov 2009 01:56:15 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290158
Log:
For now, skip if the extension_dir is not writable.
Changed paths:
U pear2/Pyrus/trunk/tests/ScriptFrontend/Commands/build.phpt
Modified: pear2/Pyrus/trunk/tests/ScriptFrontend/Commands/build.phpt
===================================================================
--- pear2/Pyrus/trunk/tests/ScriptFrontend/Commands/build.phpt 2009-11-03 01:16:47 UTC (rev 290157)
+++ pear2/Pyrus/trunk/tests/ScriptFrontend/Commands/build.phpt 2009-11-03 01:56:15 UTC (rev 290158)
@@ -2,6 +2,9 @@
\pear2\Pyrus\ScriptFrontend\Commands::build(), basic test (this actually builds an extension)
--SKIPIF--
<?php
+if (!is_writable(ini_get('extension_dir'))) {
+ die('skip extension dir must be writable');
+}
if (substr(PHP_OS, 0, 3) === 'WIN') {
die('skip requires unix to work');
}