HADOOP-9294. GetGroupsTestBase fails on Windows. Contributed by Chris Nauroth.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1444415 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Suresh Srinivas 2013-02-09 19:53:36 +00:00
parent d4931241ab
commit 6e72c6731a
2 changed files with 4 additions and 1 deletions

View File

@ -350,6 +350,7 @@ Release 2.0.4-beta - UNRELEASED
HADOOP-9283. Add support for running the Hadoop client on AIX. (atm) HADOOP-9283. Add support for running the Hadoop client on AIX. (atm)
IMPROVEMENTS IMPROVEMENTS
HADOOP-9253. Capture ulimit info in the logs at service start time. HADOOP-9253. Capture ulimit info in the logs at service start time.
(Arpit Gupta via suresh) (Arpit Gupta via suresh)
@ -357,6 +358,8 @@ Release 2.0.4-beta - UNRELEASED
BUG FIXES BUG FIXES
HADOOP-9294. GetGroupsTestBase fails on Windows. (Chris Nauroth via suresh)
Release 2.0.3-alpha - 2013-02-06 Release 2.0.3-alpha - 2013-02-06
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -108,7 +108,7 @@ public abstract class GetGroupsTestBase {
for (String group : user.getGroupNames()) { for (String group : user.getGroupNames()) {
expectedOutput += " " + group; expectedOutput += " " + group;
} }
return expectedOutput + "\n"; return expectedOutput + System.getProperty("line.separator");
} }
private String runTool(Configuration conf, String[] args, boolean success) private String runTool(Configuration conf, String[] args, boolean success)