[PATCH] D29537: [libFuzzer] Update fuzzer.test to properly set environment variables.

Marcos Pividori via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 7 16:14:27 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL294385: [libFuzzer] Update fuzzer.test to properly set environment variables. (authored by mpividori).

Changed prior to commit:
  https://reviews.llvm.org/D29537?vs=87300&id=87552#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D29537

Files:
  llvm/trunk/lib/Fuzzer/test/fuzzer.test


Index: llvm/trunk/lib/Fuzzer/test/fuzzer.test
===================================================================
--- llvm/trunk/lib/Fuzzer/test/fuzzer.test
+++ llvm/trunk/lib/Fuzzer/test/fuzzer.test
@@ -51,7 +51,7 @@
 RUN: LLVMFuzzer-ShrinkControlFlowTest  -exit_on_src_pos=ShrinkControlFlowTest.cpp:23 2>&1 | FileCheck %s --check-prefix=EXIT_ON_SRC_POS
 EXIT_ON_SRC_POS: INFO: found line matching '{{.*}}', exiting.
 
-RUN: ASAN_OPTIONS=strict_string_checks=1 not LLVMFuzzer-StrncmpOOBTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=STRNCMP
+RUN: env ASAN_OPTIONS=strict_string_checks=1 not LLVMFuzzer-StrncmpOOBTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=STRNCMP
 STRNCMP: AddressSanitizer: heap-buffer-overflow
 STRNCMP-NOT: __sanitizer_weak_hook_strncmp
 STRNCMP: in LLVMFuzzerTestOneInput


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29537.87552.patch
Type: text/x-patch
Size: 827 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170208/05f64b4f/attachment.bin>


More information about the llvm-commits mailing list