Merge pull request dotnet/corefx#11349 from ianhays/IO_symlink_tests

Use rooted path for symlink creation in IO tests

Commit migrated from https://github.com/dotnet/corefx/commit/9fbfe43dbd61f06e6c9c7a481b5edf4d19f8db1d
This commit is contained in:
Ian Hays authored and GitHub committed 2016-09-07 08:33:19 -07:00
commit bc45535170
2 files changed
+2 -2

No files matched your search

@@ -397,7 +397,7 @@ namespace System.IO.Tests
}
else
{
symLinkProcess.StartInfo.FileName = "ln";
symLinkProcess.StartInfo.FileName = "/bin/ln";
symLinkProcess.StartInfo.Arguments = string.Format("-s \"{0}\" \"{1}\"", Path.GetFullPath(targetPath), Path.GetFullPath(linkPath));
}
symLinkProcess.StartInfo.RedirectStandardOutput = true;