brintos

brintos / llvm-project-archived public Read only

0
0
Text · 749 B · 8af81ec Raw
22 lines · python
1# Check the umask command2 3# RUN: not %{lit} -v %{inputs}/shtest-umask | FileCheck -match-full-lines %s4# TODO(boomanaiden154): We should be asserting that we get expected behavior5# on Windows rather than just listing this as unsupported.6# UNSUPPORTED: system-windows7 8# CHECK: -- Testing: 3 tests{{.*}}9 10# CHECK-LABEL: FAIL: shtest-umask :: umask-bad-arg.txt ({{[^)]*}})11# CHECK: umask bad12# CHECK: # | Error: 'umask': invalid literal {{.*}}13 14# CHECK-LABEL: FAIL: shtest-umask :: umask-too-many-args.txt ({{[^)]*}})15# CHECK: umask 0 016# CHECK: # | 'umask' supports only one argument17 18# CHECK: Total Discovered Tests: 319# CHECK: {{Passed|Unsupported}}: 1 {{\([0-9]*\.[0-9]*%\)}}20# CHECK: Failed{{ *}}: 2 {{\([0-9]*\.[0-9]*%\)}}21# CHECK-NOT: {{.}}22