From b3653639b1db04b684d0102c23e318c0b003f135 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Wed, 29 Apr 2015 16:54:11 +0000 Subject: [PATCH] Disable failing TestDevNull test on Windows llvm-svn: 236126 --- unittests/Support/raw_pwrite_stream_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unittests/Support/raw_pwrite_stream_test.cpp b/unittests/Support/raw_pwrite_stream_test.cpp index 4e521a04728..a62f6bacb07 100644 --- a/unittests/Support/raw_pwrite_stream_test.cpp +++ b/unittests/Support/raw_pwrite_stream_test.cpp @@ -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 }