[compiler-rt] [compiler-rt] [libFuzzer] Fix merge-posix.test file size test (PR #168137)

Dan Blackwell via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 17 01:21:08 PST 2025


================
@@ -14,7 +14,7 @@ RUN: echo ....U. > %tmp/T2/2
 RUN: echo ...Z.. > %tmp/T2/3
 RUN: echo ...Z.. > %tmp/T2/4
 RUN: echo ....E. > %tmp/T2/5
-RUN: echo .....R > %tmp/T2/6
+RUN: (echo .....R; for i in {1..1024}; do echo -n X; done) > %tmp/T2/6
----------------
DanBlackwell wrote:

Internal shell supports redirects, so this would do I believe:
```
RUN: %python -c "print('X' * 1024, end='')" > %tmp/T2/6
```

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


More information about the llvm-commits mailing list