Remove umask tests
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Sat, 11 Jan 2020 02:05:59 +0000 (21:05 -0500)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Sat, 11 Jan 2020 02:05:59 +0000 (21:05 -0500)
These tests were added in 18627115f4d2db5dc73207e0b5312f52536be7dd and e08b59f81d950bd5c8b8528fcb3ac4230c7b736c for validating a refactoring.
Removing because they break on ACL-controlled folders on Ubuntu, and their added value is low.

Differential Revision: https://reviews.llvm.org/D70854

clang/test/Misc/permissions.cpp [deleted file]
llvm/test/Other/umask.ll [deleted file]

diff --git a/clang/test/Misc/permissions.cpp b/clang/test/Misc/permissions.cpp
deleted file mode 100644 (file)
index 83f6c57..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-// REQUIRES: shell
-
-// RUN: umask 000
-// RUN: %clang_cc1 -emit-llvm-bc %s -o %t
-// RUN: ls -l %t | FileCheck --check-prefix=CHECK000 %s
-// CHECK000: rw-rw-rw-
-
-// RUN: umask 002
-// RUN: %clang_cc1 -emit-llvm-bc %s -o %t
-// RUN: ls -l %t | FileCheck --check-prefix=CHECK002 %s
-// CHECK002: rw-rw-r--
diff --git a/llvm/test/Other/umask.ll b/llvm/test/Other/umask.ll
deleted file mode 100644 (file)
index 4134580..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-; REQUIRES: shell
-; XFAIL: windows-gnu
-
-; RUN: umask 000
-; RUN: rm -f %t.000
-; RUN: llvm-as %s -o %t.000
-; RUN: ls -l %t.000 | FileCheck --check-prefix=CHECK000 %s
-; CHECK000: rw-rw-rw
-
-; RUN: umask 002
-; RUN: rm -f %t.002
-; RUN: llvm-as %s -o %t.002
-; RUN: ls -l %t.002 | FileCheck --check-prefix=CHECK002 %s
-; CHECK002: rw-rw-r-