forked from OSchip/llvm-project
[libFuzzer] Dump input on failure for sigusr tests.
Should help with debugging failures on the bots. llvm-svn: 361070
This commit is contained in:
parent
fd0779181f
commit
2fd318e543
|
@ -9,6 +9,6 @@ RUN: %run %t/ForkSIGUSR -fork=3 -ignore_crashes=1 2>%t/log & export PID=$!
|
|||
RUN: sleep 3
|
||||
RUN: kill -SIGUSR2 $PID
|
||||
RUN: sleep 6
|
||||
RUN: cat %t/log | FileCheck %s
|
||||
RUN: cat %t/log | FileCheck %s --dump-input=fail
|
||||
|
||||
CHECK: libFuzzer: {{.*}}exiting
|
||||
|
|
|
@ -21,7 +21,7 @@ RUN: sleep 3
|
|||
RUN: pkill -SIGUSR2 -P $PID
|
||||
RUN: kill -SIGUSR2 $PID
|
||||
RUN: sleep 6
|
||||
RUN: cat %t/log | FileCheck %s
|
||||
RUN: cat %t/log | FileCheck %s --dump-input=fail
|
||||
RUN: grep C2/g %t/MCF
|
||||
RUN: grep STARTED %t/MCF
|
||||
RUN: tail -n 2 %t/MCF | grep FT
|
||||
|
|
Loading…
Reference in New Issue