com phpruntests: another fix: tests/testcase/rtGetExecutionTest.php

From: Date: Wed, 15 Jul 2009 16:58:10 +0000
Subject: com phpruntests: another fix: tests/testcase/rtGetExecutionTest.php
Groups: php.qa 
Request: Send a blank email to php-qa+get-66341@lists.php.net to get a copy of this message
Commit: 1026d4d52e8767106c860733b4a010c1d621d981 Author: Zoe Slattery <zoe@php.net> Wed, 15 Jul 2009 16:58:10 +0000 Parents: 7b54440a22eb766f6cf6dc9e5b1c4e72c87e0ad0 Branches: master Link: http://git.php.net/?p=phpruntests.git;a=commitdiff;h=1026d4d52e8767106c860733b4a010c1d621d981 Log: another fix Changed paths: M tests/testcase/rtGetExecutionTest.php Diff: diff --git a/tests/testcase/rtGetExecutionTest.php b/tests/testcase/rtGetExecutionTest.php index ca61966..60859a0 100644 --- a/tests/testcase/rtGetExecutionTest.php +++ b/tests/testcase/rtGetExecutionTest.php @@ -82,7 +82,8 @@ class rtGetExecutionTest extends PHPUnit_Framework_TestCase $status = $testCase->getStatus(); - $setPhp = $configuration->getSetting('TEST_PHP_EXECUTABLE'); + $setPhp = $config->getSetting('PhpExecutable'); + if (preg_match("/sapi/", $setPhp)) { // Make no assertion bacuse the CGI executable can be guesed

« previous php.qa (#66341) next »