[compiler-rt] 15361a9 - [sanitizer] Add test for 9213202abd275c26c51cc46e2a34c678051bd179
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 1 21:15:32 PDT 2021
Author: Vitaly Buka
Date: 2021-11-01T21:14:11-07:00
New Revision: 15361a98aa3ebf4a4903e418fe8d07fea7192368
URL: https://github.com/llvm/llvm-project/commit/15361a98aa3ebf4a4903e418fe8d07fea7192368
DIFF: https://github.com/llvm/llvm-project/commit/15361a98aa3ebf4a4903e418fe8d07fea7192368.diff
LOG: [sanitizer] Add test for 9213202abd275c26c51cc46e2a34c678051bd179
Added:
Modified:
compiler-rt/test/sanitizer_common/TestCases/Posix/posix_spawn.c
Removed:
################################################################################
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Posix/posix_spawn.c b/compiler-rt/test/sanitizer_common/TestCases/Posix/posix_spawn.c
index d99fbd52ffcd..eebcf473c63f 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Posix/posix_spawn.c
+++ b/compiler-rt/test/sanitizer_common/TestCases/Posix/posix_spawn.c
@@ -16,8 +16,14 @@ int main(int argc, char **argv) {
posix_spawnattr_t attr = {};
posix_spawn_file_actions_t file_actions = {};
- char *const args[] = {argv[0], "2", NULL};
- char *const env[] = {"A=B", NULL};
+ char *const args[] = {
+ argv[0], "2", "3", "4", "2", "3", "4", "2", "3", "4",
+ "2", "3", "4", "2", "3", "4", "2", "3", "4", NULL,
+ };
+ char *const env[] = {
+ "A=B", "A=B", "A=B", "A=B", "A=B", "A=B", "A=B", "A=B", "A=B", "A=B",
+ "A=B", "A=B", "A=B", "A=B", "A=B", "A=B", "A=B", "A=B", "A=B", NULL,
+ };
pid_t pid;
int s = posix_spawn(&pid, argv[0], &file_actions, &attr, args, env);
More information about the llvm-commits
mailing list