[llvm] [llvm-lit] Add precommit test to verify current behavior of glob expansion in lit's internal shell (PR #106325)
Alexander Richardson via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 27 20:02:01 PDT 2024
================
@@ -0,0 +1,2 @@
+## Tests glob pattern expansion by listing matching files.
+# RUN: echo %{inputs}/shtest-glob/example_file*.txt
----------------
arichardson wrote:
Could also do something like `touch %t1.txt %t2.txt` and then try `mkdir %t*.txt` and check that we get two file exists errors.
https://github.com/llvm/llvm-project/pull/106325
More information about the llvm-commits
mailing list