llvm-6502/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-