diff options
Diffstat (limited to 'lib/Fuzzer/test/fuzzer-oom-with-profile.test')
-rw-r--r-- | lib/Fuzzer/test/fuzzer-oom-with-profile.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Fuzzer/test/fuzzer-oom-with-profile.test b/lib/Fuzzer/test/fuzzer-oom-with-profile.test new file mode 100644 index 0000000000000..391fd4bb0ff60 --- /dev/null +++ b/lib/Fuzzer/test/fuzzer-oom-with-profile.test @@ -0,0 +1,6 @@ +REQUIRES: linux +RUN: not LLVMFuzzer-OutOfMemoryTest -rss_limit_mb=10 2>&1 | FileCheck %s +CHECK: ERROR: libFuzzer: out-of-memory (used: {{.*}}; limit: 10Mb) +CHECK: Live Heap Allocations +CHECK: Test unit written to ./oom- +SUMMARY: libFuzzer: out-of-memory |