Merge pull request #1669 from andschwa/safe-hostname

Safe hostname
This commit is contained in:
Dongbo Wang authored and GitHub committed 2016-08-08 11:10:53 -07:00
commit ba2cd1d2b7
5 files changed
+208 -252

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ namespace PSTests
// The process should return an exit code of 0 on success
Assert.Equal(0, process.ExitCode);
// It should be the same as what our platform code returns
Assert.Equal(username, Platform.NonWindowsGetUserName());
Assert.Equal(username, Platform.Unix.UserName());
}
}