diff --git a/compiler-rt/test/fuzzer/big-file-copy.test b/compiler-rt/test/fuzzer/big-file-copy.test index 9565ed4e0bca2..b92379460ac3b 100644 --- a/compiler-rt/test/fuzzer/big-file-copy.test +++ b/compiler-rt/test/fuzzer/big-file-copy.test @@ -1,6 +1,5 @@ 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: %run rm -f big-file.txt big-file-out.txt -RUN: (exit $result) +RUN: bash -c '%run %t -runs=1 -rss_limit_mb=4096 2>big-file-out.txt; result=$? \ +RUN: %run rm -f big-file.txt big-file-out.txt && exit $result'