summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/Path.cpp
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
commit787ea1f3cc1c89329b6ecfea9b063287db7358cc (patch)
treee2da5985db63a563cbd8ac112034512509e7862a /llvm/unittests/Support/Path.cpp
parentcca44e219f99e152e34b4fd2b741c49ec477b278 (diff)
downloadbcm5719-llvm-787ea1f3cc1c89329b6ecfea9b063287db7358cc.tar.gz
bcm5719-llvm-787ea1f3cc1c89329b6ecfea9b063287db7358cc.zip
unittests/Support/Path.cpp: [Win32] Suppress FileSystemTest.Permissions for now.
llvm-svn: 159098
Diffstat (limited to 'llvm/unittests/Support/Path.cpp')
-rw-r--r--llvm/unittests/Support/Path.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/unittests/Support/Path.cpp b/llvm/unittests/Support/Path.cpp
index 766c990fcde..660d612e647 100644
--- a/llvm/unittests/Support/Path.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud