[llvm] [lit] Implement builtin umask (PR #94621)

Paul T Robinson via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 9 08:08:19 PDT 2024


================
@@ -0,0 +1,18 @@
+# Check the umask command
+
+# RUN: not %{lit} -a -v %{inputs}/shtest-umask | FileCheck -match-full-lines %s
+
+# CHECK: -- Testing: 3 tests{{.*}}
+
+# CHECK-LABEL: FAIL: shtest-umask :: umask-bad-arg.txt ({{[^)]*}})
+# CHECK: umask bad
+# CHECK: # | Error: 'umask': invalid literal {{.*}}
----------------
pogo59 wrote:

```suggestion
# CHECK: # | Error: 'umask' invalid literal {{.*}}
```
I'm not seeing that colon when I run the test on Windows (with the "posix" check moved).

https://github.com/llvm/llvm-project/pull/94621


More information about the llvm-commits mailing list