From ebbd6fef846e9f9e347f09a39703d6967541ed4e Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Sun, 24 Jun 2012 03:48:34 +0000 Subject: [PATCH] unittests/Support/Path.cpp: [Win32] Suppress FileSystemTest.Permissions for now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159098 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/Support/Path.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unittests/Support/Path.cpp b/unittests/Support/Path.cpp index 766c990fcde..660d612e647 100644 --- a/unittests/Support/Path.cpp +++ b/unittests/Support/Path.cpp @@ -312,7 +312,7 @@ TEST_F(FileSystemTest, Magic) { } } - +#if !defined(_WIN32) // FIXME: Win32 has different permission schema. TEST_F(FileSystemTest, Permissions) { // Create a temp file. int FileDescriptor; @@ -338,6 +338,7 @@ TEST_F(FileSystemTest, Permissions) { AnyWriteBits = (Status.permissions() & AllWrite); EXPECT_TRUE(AnyWriteBits); } +#endif TEST_F(FileSystemTest, FileMapping) { // Create a temp file.