[llvm] [llvm-lit][test] Precommit tests for lit's built-in cat command (PR #101530)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 6 01:04:24 PDT 2024


================
@@ -0,0 +1,16 @@
+## Tests to check cat output
+
+# RUN: cat %S/txt-files/newline | FileCheck %s --check-prefix=NEWLINE
----------------
jh7370 wrote:

Can we simply use `diff` here instead of FileCheck, like you do below?

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


More information about the llvm-commits mailing list