]> granicus.if.org Git - php/commitdiff
add fancy SKIPIF code
authorGreg Beaver <cellog@php.net>
Fri, 31 Oct 2003 22:39:43 +0000 (22:39 +0000)
committerGreg Beaver <cellog@php.net>
Fri, 31 Oct 2003 22:39:43 +0000 (22:39 +0000)
pear/tests/pear_installer3.phpt

index b1ca4cba9b23a7829720f72cf1d6d66b696b8e18..d40f1fdd14c0fad5911d9c76756cfac3c77dc53f 100644 (file)
@@ -1,7 +1,11 @@
 --TEST--
 PEAR_Installer test #3 File Transactions
 --SKIPIF--
-skip
+<?php
+if (!getenv('PHP_PEAR_RUNTESTS')) {
+    echo 'skip';
+}
+?>
 --FILE--
 <?php
 $temp_path = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'testinstallertemp';