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

via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 2 14:37:46 PDT 2024


================
@@ -0,0 +1,33 @@
+## Tests to check cat -e output for ASCII characters and newlines
+
+# RUN: cat -e %S/txt-files/allchars | FileCheck %s --check-prefix=ALLCHARS
+# RUN: cat -e %S/txt-files/newline | FileCheck %s --check-prefix=NEWLINE
+
+# ALLCHARS: ^@^A^B^C^D^E^F^G^H      $
----------------
connieyzhu wrote:

done

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


More information about the llvm-commits mailing list