[compiler-rt] r263106 - [test/asan/closed-fds] Properly quote log_path for shell invocation.

Filipe Cabecinhas via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 10 03:52:00 PST 2016


Author: filcab
Date: Thu Mar 10 05:51:59 2016
New Revision: 263106

URL: http://llvm.org/viewvc/llvm-project?rev=263106&view=rev
Log:
[test/asan/closed-fds] Properly quote log_path for shell invocation.

Modified:
    compiler-rt/trunk/test/asan/TestCases/Posix/closed-fds.cc

Modified: compiler-rt/trunk/test/asan/TestCases/Posix/closed-fds.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/closed-fds.cc?rev=263106&r1=263105&r2=263106&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Posix/closed-fds.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Posix/closed-fds.cc Thu Mar 10 05:51:59 2016
@@ -2,7 +2,7 @@
 // symbolizer still works.
 
 // RUN: rm -f %t.log.*
-// RUN: %clangxx_asan -O0 %s -o %t 2>&1 && %env_asan_opts=log_path=%t.log:verbosity=2 not %run %t 2>&1
+// RUN: %clangxx_asan -O0 %s -o %t 2>&1 && %env_asan_opts=log_path='"%t.log"':verbosity=2 not %run %t 2>&1
 // RUN: FileCheck %s --check-prefix=CHECK-FILE < %t.log.*
 
 // FIXME: copy %t.log back from the device and re-enable on Android.




More information about the llvm-commits mailing list