[compiler-rt] [Fuzzer] make big-file-copy.test work with the internal shell (PR #168658)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 19 09:14:51 PST 2025
================
@@ -1,6 +1,6 @@
REQUIRES: darwin
UNSUPPORTED: ios
RUN: %cpp_compiler %S/BigFileCopy.cpp -o %t
-RUN: %run %t -runs=1 -rss_limit_mb=4096 2>big-file-out.txt; result=$?
+RUN: bash -c "%run %t -runs=1 -rss_limit_mb=4096 2>big-file-out.txt; echo -n $? > %t.result"
----------------
boomanaiden154 wrote:
Switched to using single quotes so this also works with the external shell.
https://github.com/llvm/llvm-project/pull/168658
More information about the llvm-commits
mailing list