| 1 |
# Check the umask command |
| 2 |
|
| 3 |
# RUN: not %{lit} -v %{inputs}/shtest-umask | FileCheck -match-full-lines %s |
| 4 |
# TODO(boomanaiden154): We should be asserting that we get expected behavior |
| 5 |
# on Windows rather than just listing this as unsupported. |
| 6 |
# UNSUPPORTED: system-windows |
| 7 |
|
| 8 |
# CHECK: -- Testing: 3 tests{{.*}} |
| 9 |
|
| 10 |
# CHECK-LABEL: FAIL: shtest-umask :: umask-bad-arg.txt ({{[^)]*}}) |
| 11 |
# CHECK: umask bad |
| 12 |
# CHECK: # | Error: 'umask': invalid literal {{.*}} |
| 13 |
|
| 14 |
# CHECK-LABEL: FAIL: shtest-umask :: umask-too-many-args.txt ({{[^)]*}}) |
| 15 |
# CHECK: umask 0 0 |
| 16 |
# CHECK: # | 'umask' supports only one argument |
| 17 |
|
| 18 |
# CHECK: Total Discovered Tests: 3 |
| 19 |
# CHECK: {{Passed|Unsupported}}: 1 {{\([0-9]*\.[0-9]*%\)}} |
| 20 |
# CHECK: Failed{{ *}}: 2 {{\([0-9]*\.[0-9]*%\)}} |
| 21 |
# CHECK-NOT: {{.}} |