1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/Other/umask.ll

15 lines
327 B
LLVM
Raw Normal View History

; REQUIRES: shell
; XFAIL: mingw32
; 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-