1; REQUIRES: shell 2; XFAIL: mingw32 3 4; RUN: umask 000 5; RUN: rm -f %t.000 6; RUN: llvm-as %s -o %t.000 7; RUN: ls -l %t.000 | FileCheck --check-prefix=CHECK000 %s 8; CHECK000: rw-rw-rw 9 10; RUN: umask 002 11; RUN: rm -f %t.002 12; RUN: llvm-as %s -o %t.002 13; RUN: ls -l %t.002 | FileCheck --check-prefix=CHECK002 %s 14; CHECK002: rw-rw-r- 15