summaryrefslogtreecommitdiffstats
path: root/test/Misc/permissions.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-07-08 06:45:16 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-07-08 06:45:16 +0000
commit23849e4da164c07f306d8e80ef03c5dda9633fe9 (patch)
tree858b3c55ebcb06b8873c8604bc789761a15a2465 /test/Misc/permissions.cpp
parent437c08a4a63e42772c252e7a60a93825052a3e10 (diff)
clang/test/Misc/permissions.cpp: Suppress this on MSYS with the feature 'shell-preserves-root'.
FIXME: Could we introduce another feature for it? git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185797 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Misc/permissions.cpp')
-rw-r--r--test/Misc/permissions.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Misc/permissions.cpp b/test/Misc/permissions.cpp
index 83f6c57208..5b89eabcf2 100644
--- a/test/Misc/permissions.cpp
+++ b/test/Misc/permissions.cpp
@@ -1,5 +1,9 @@
// REQUIRES: shell
+// MSYS doesn't emulate umask.
+// FIXME: Could we introduce another feature for it?
+// REQUIRES: shell-preserves-root'
+
// RUN: umask 000
// RUN: %clang_cc1 -emit-llvm-bc %s -o %t
// RUN: ls -l %t | FileCheck --check-prefix=CHECK000 %s