[sanitizer] Add test for 9213202abd

This commit is contained in:
Vitaly Buka 2021-11-01 21:13:51 -07:00
parent 9213202abd
commit 15361a98aa
1 changed files with 8 additions and 2 deletions

View File

@ -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);