You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
327 B

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