Disable failing TestDevNull test on Windows

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236126 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Kleckner 2015-04-29 16:54:11 +00:00
parent b3b655c5a3
commit 6cc327cc18

View File

@ -50,6 +50,7 @@ TEST(raw_pwrite_ostreamTest, TestFD) {
#endif
}
#ifdef LLVM_ON_UNIX
TEST(raw_pwrite_ostreamTest, TestDevNull) {
int FD;
sys::fs::openFileForWrite("/dev/null", FD, sys::fs::F_None);
@ -59,4 +60,5 @@ TEST(raw_pwrite_ostreamTest, TestDevNull) {
OS.pwrite(Test.data(), Test.size(), 0);
OS.pwrite(Test.data(), Test.size(), 0);
}
#endif
}