From de0a2247115729eade8249267a47f96f070a7666 Mon Sep 17 00:00:00 2001 From: Alexandre Ganea Date: Fri, 10 Jan 2020 21:05:59 -0500 Subject: [PATCH] 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 --- clang/test/Misc/permissions.cpp | 11 ----------- llvm/test/Other/umask.ll | 14 -------------- 2 files changed, 25 deletions(-) delete mode 100644 clang/test/Misc/permissions.cpp delete mode 100644 llvm/test/Other/umask.ll diff --git a/clang/test/Misc/permissions.cpp b/clang/test/Misc/permissions.cpp deleted file mode 100644 index 83f6c57..0000000 --- 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 4134580..0000000 --- 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- -- 2.7.4