Disable failing TestDevNull test on Windows

llvm-svn: 236126
This commit is contained in:
Reid Kleckner 2015-04-29 16:54:11 +00:00
parent 00820abf02
commit 97b7e26d13
1 changed files with 2 additions and 0 deletions

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
}