[clang] de0a224 - Remove umask tests

Alexandre Ganea via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 10 18:06:12 PST 2020


Author: Alexandre Ganea
Date: 2020-01-10T21:05:59-05:00
New Revision: de0a2247115729eade8249267a47f96f070a7666

URL: https://github.com/llvm/llvm-project/commit/de0a2247115729eade8249267a47f96f070a7666
DIFF: https://github.com/llvm/llvm-project/commit/de0a2247115729eade8249267a47f96f070a7666.diff

LOG: Remove umask tests

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

Added: 
    

Modified: 
    

Removed: 
    clang/test/Misc/permissions.cpp
    llvm/test/Other/umask.ll


################################################################################
diff  --git a/clang/test/Misc/permissions.cpp b/clang/test/Misc/permissions.cpp
deleted file mode 100644
index 83f6c5720809..000000000000
--- a/clang/test/Misc/permissions.cpp
+++ /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
index 413458006a5a..000000000000
--- a/llvm/test/Other/umask.ll
+++ /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-


        


More information about the cfe-commits mailing list