summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-06-24 03:48:34 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-06-24 03:48:34 +0000
commitebbd6fef846e9f9e347f09a39703d6967541ed4e (patch)
tree99aa1b09e0a388c41938b7fde536d28e1ea071fa /unittests
parenta1c8420f1b174aa8c1e3698861801d636b8992c5 (diff)
downloadllvm-ebbd6fef846e9f9e347f09a39703d6967541ed4e.tar.gz
llvm-ebbd6fef846e9f9e347f09a39703d6967541ed4e.tar.bz2
llvm-ebbd6fef846e9f9e347f09a39703d6967541ed4e.tar.xz
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
Diffstat (limited to 'unittests')
-rw-r--r--unittests/Support/Path.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/unittests/Support/Path.cpp b/unittests/Support/Path.cpp
index 766c990fcd..660d612e64 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.