Fix these tests on windows.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 25 Mar 2014 13:19:03 +0000 (13:19 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 25 Mar 2014 13:19:03 +0000 (13:19 +0000)
commit2cf1cdfb4e57ca5496687a625a642c1a0b5fecfb
treed5c8f0b5dd70de07a8d994461b8b32f3de9fdae4
parent800399636a43813c1f11a13eaaab7602b15797a5
Fix these tests on windows.

It is impossible to create a hard link to a non existing file, so create a
dummy file, create the link an delete the dummy file.

On windows one cannot remove the current directory, so chdir first.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204719 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/Support/LockFileManagerTest.cpp