[compiler-rt] r369311 - [sanitizer_common] Extend test after switch to posix_spawn
Julian Lettner via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 19 16:47:35 PDT 2019
Author: yln
Date: Mon Aug 19 16:47:35 2019
New Revision: 369311
URL: http://llvm.org/viewvc/llvm-project?rev=369311&view=rev
Log:
[sanitizer_common] Extend test after switch to posix_spawn
Modified:
compiler-rt/trunk/test/asan/TestCases/Darwin/sandbox-symbolizer.cpp
Modified: compiler-rt/trunk/test/asan/TestCases/Darwin/sandbox-symbolizer.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Darwin/sandbox-symbolizer.cpp?rev=369311&r1=369310&r2=369311&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Darwin/sandbox-symbolizer.cpp (original)
+++ compiler-rt/trunk/test/asan/TestCases/Darwin/sandbox-symbolizer.cpp Mon Aug 19 16:47:35 2019
@@ -5,10 +5,12 @@
// RUN: %clangxx_asan -O0 %s -o %t
// RUN: not %run sandbox-exec -p '(version 1)(allow default)(deny process-fork)' %t 2>&1 | FileCheck %s
+// RUN: not %run sandbox-exec -p '(version 1)(allow default)(deny process-exec (literal "/usr/bin/atos"))' %t 2>&1 | FileCheck %s
// RUN: not %run sandbox-exec -p '(version 1)(allow default)(deny mach-priv-task-port)' %t 2>&1 | FileCheck %s
// RUN: env ASAN_SYMBOLIZER_PATH="" not %run sandbox-exec -p '(version 1)(allow default)(deny mach-priv-task-port)' %t 2>&1 | FileCheck %s
// RUN: %clangxx_asan -O3 %s -o %t
// RUN: not %run sandbox-exec -p '(version 1)(allow default)(deny process-fork)' %t 2>&1 | FileCheck %s
+// RUN: not %run sandbox-exec -p '(version 1)(allow default)(deny process-exec (literal "/usr/bin/atos"))' %t 2>&1 | FileCheck %s
// RUN: not %run sandbox-exec -p '(version 1)(allow default)(deny mach-priv-task-port)' %t 2>&1 | FileCheck %s
// RUN: env ASAN_SYMBOLIZER_PATH="" not %run sandbox-exec -p '(version 1)(allow default)(deny mach-priv-task-port)' %t 2>&1 | FileCheck %s
More information about the llvm-commits
mailing list