Home | History | Annotate | Download | only in Misc
      1 // REQUIRES: shell
      2 
      3 // RUN: umask 000
      4 // RUN: %clang_cc1 -emit-llvm-bc %s -o %t
      5 // RUN: ls -l %t | FileCheck --check-prefix=CHECK000 %s
      6 // CHECK000: rw-rw-rw-
      7 
      8 // RUN: umask 002
      9 // RUN: %clang_cc1 -emit-llvm-bc %s -o %t
     10 // RUN: ls -l %t | FileCheck --check-prefix=CHECK002 %s
     11 // CHECK002: rw-rw-r--
     12