aboutsummaryrefslogtreecommitdiffstats
path: root/test/Other/umask.ll
blob: af9710e6b017746f6bde4dd80ce4bf6135e520e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; 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-