skipif section in ext/standard/tests/streams/bug46024.phpt misses 'skip' string
| From: | Eyal Teutsch | Date: | Thu, 02 Dec 2010 12:17:53 +0000 |
| Subject: | skipif section in ext/standard/tests/streams/bug46024.phpt misses 'skip' string | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-65687@lists.php.net to get a copy of this message | ||
Hi,
test ext/standard/tests/streams/bug46024.phpt seems to miss the string 'skip' in it's SKIPIF section:
--SKIPIF--
<?php if (!getenv('TEST_PHP_EXECUTABLE')) die("TEST_PHP_EXECUTABLE not defined"); ?>
Here's the suggested patch (no svn commit privileges yet):
Index: php-5.3.3/ext/standard/tests/streams/bug46024.phpt
===================================================================
--- php-5.3.3/ext/standard/tests/streams/bug46024.phpt (revision 305902) +++ php-5.3.3/ext/standard/tests/streams/bug46024.phpt (working copy)@@ -1,7 +1,7 @@ --TEST-- Bug #46024 stream_select() doesn't return the correct number --SKIPIF-- -<?php if (!getenv('TEST_PHP_EXECUTABLE')) die("TEST_PHP_EXECUTABLE not defined"); ?> +<?php if (!getenv('TEST_PHP_EXECUTABLE')) die("skip - TEST_PHP_EXECUTABLE not defined"); ?> --FILE-- <?php $php = getenv('TEST_PHP_EXECUTABLE'); thx, Eyal