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

Paul Kirth via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 2 12:21:12 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
+
----------------
ilovepi wrote:

Can you add a comment here noting that allchars is for testing metacharacter output w/ `-e`?
```suggestion
## Test output of -e for all ASCII characters including  ^ and M- notation

```

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


More information about the llvm-commits mailing list