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

Paul T Robinson via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 9 08:41:51 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:

Ah, which makes it a typo on my part. (Phab had a way to download a raw patch, I'm not aware that GH has a way to do that.) So, never mind....

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


More information about the llvm-commits mailing list