summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/fuzzer/fork-sigusr.test
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/fuzzer/fork-sigusr.test')
-rw-r--r--compiler-rt/test/fuzzer/fork-sigusr.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/fuzzer/fork-sigusr.test b/compiler-rt/test/fuzzer/fork-sigusr.test
index 5666ae7f4f3..8ec8f00a157 100644
--- a/compiler-rt/test/fuzzer/fork-sigusr.test
+++ b/compiler-rt/test/fuzzer/fork-sigusr.test
@@ -5,7 +5,7 @@ RUN: rm -rf %t
RUN: mkdir -p %t
RUN: %cpp_compiler %S/ShallowOOMDeepCrash.cpp -o %t/ForkSIGUSR
-RUN: %run %t/ForkSIGUSR -fork=3 -rss_limit_mb=128 -ignore_crashes=1 2> %t/log & export PID=$!
+RUN: %run %t/ForkSIGUSR -fork=3 -rss_limit_mb=128 -ignore_crashes=1 2>&1 | tee %t/log & :
RUN: sleep 3
RUN: pkill -SIGUSR2 -f %t/ForkSIGUSR
RUN: sleep 6
OpenPOWER on IntegriCloud