[sanitizer_common] Extend test after switch to posix_spawn

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@369311 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/asan/TestCases/Darwin/sandbox-symbolizer.cpp b/test/asan/TestCases/Darwin/sandbox-symbolizer.cpp
index b36c4fa..ea2dbd9 100644
--- a/test/asan/TestCases/Darwin/sandbox-symbolizer.cpp
+++ b/test/asan/TestCases/Darwin/sandbox-symbolizer.cpp
@@ -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