1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Other/umask.ll
Petr Hosek 1cfc2ea35f [CMake] Use normalized Windows target triples
Changes the default Windows target triple returned by
GetHostTriple.cmake from the old environment names (which we wanted to
move away from) to newer, normalized ones. This also requires updating
all tests to use the new systems names in constraints.

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

llvm-svn: 339307
2018-08-09 02:16:18 +00:00

15 lines
331 B
LLVM

; 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-