Home | History | Annotate | Download | only in Misc
      1 // REQUIRES: shell
      2 
      3 // MSYS doesn't emulate umask.
      4 // FIXME: Could we introduce another feature for it?
      5 // REQUIRES: shell-preserves-root
      6 
      7 // RUN: umask 000
      8 // RUN: %clang_cc1 -emit-llvm-bc %s -o %t
      9 // RUN: ls -l %t | FileCheck --check-prefix=CHECK000 %s
     10 // CHECK000: rw-rw-rw-
     11 
     12 // RUN: umask 002
     13 // RUN: %clang_cc1 -emit-llvm-bc %s -o %t
     14 // RUN: ls -l %t | FileCheck --check-prefix=CHECK002 %s
     15 // CHECK002: rw-rw-r--
     16