mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-26 22:38:30 +00:00
Attempt to fix MODE=dbg Windows execve() flake
This commit is contained in:
parent
7b67b20dae
commit
035b0e2a62
5 changed files with 68 additions and 84 deletions
|
@ -58,8 +58,7 @@ TEST(execve, testArgPassing) {
|
|||
FormatInt32(ibuf, i);
|
||||
GenBuf(buf, i);
|
||||
SPAWN(vfork);
|
||||
execve(prog, (char *const[]){(char *)prog, "-", ibuf, buf, 0},
|
||||
(char *const[]){0});
|
||||
execl(prog, prog, "-", ibuf, buf, NULL);
|
||||
kprintf("execve failed: %m\n");
|
||||
EXITS(0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue