12 lines · plain
1## Windows has no umask so this test makes no sense.2# UNSUPPORTED: system-windows3 4# RUN: touch %t5# RUN: chmod 644 %t && ls -l %t | cut -f 1 -d ' ' > %t.6446# RUN: chmod 600 %t && ls -l %t | cut -f 1 -d ' ' > %t.6007# RUN: chmod 666 %t && ls -l %t | cut -f 1 -d ' ' > %t.6668 9# RUN: umask 022 && rm %t && touch %t && ls -l %t | cut -f 1 -d ' ' | cmp - %t.64410# RUN: umask 177 && rm %t && touch %t && ls -l %t | cut -f 1 -d ' ' | cmp - %t.60011# RUN: umask 000 && rm %t && touch %t && ls -l %t | cut -f 1 -d ' ' | cmp - %t.66612