com phpruntests: fixing to run on Windows: src/testcase/sections/configurationsections/rtStdinSection.php
| From: | David Soria Parra | Date: | Mon, 03 Aug 2009 11:59:30 +0000 |
| Subject: | com phpruntests: fixing to run on Windows: src/testcase/sections/configurationsections/rtStdinSection.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-66304@lists.php.net to get a copy of this message | ||
Commit: 9de3a866f2c2cdddd82a25c6ea672efe8a7374f2
Author: Zoe Slattery <zoe@php.net> Mon, 3 Aug 2009 11:59:30 +0000
Parents: 5bd4856cf4ff101c17e1d5143bcb799c975b4bfc
Branches: master
Link: http://git.php.net/?p=phpruntests.git;a=commitdiff;h=9de3a866f2c2cdddd82a25c6ea672efe8a7374f2
Log:
fixing to run on Windows
Changed paths:
M src/testcase/sections/configurationsections/rtStdinSection.php
Diff:
diff --git a/src/testcase/sections/configurationsections/rtStdinSection.php
b/src/testcase/sections/configurationsections/rtStdinSection.php
index 591d743..4e01e85 100644
--- a/src/testcase/sections/configurationsections/rtStdinSection.php
+++ b/src/testcase/sections/configurationsections/rtStdinSection.php
@@ -19,7 +19,8 @@ class rtStdinSection extends rtConfigurationSection
protected function init()
{
- $this->inputString = join($this->sectionContents, PHP_EOL) . PHP_EOL;
+ //This really does need to be \n not PHPEOL.
+ $this->inputString = join($this->sectionContents, "\n") . "\n";
}
public function getInputString() {