Commit b7601ac
committed
Avoid fault in test desched_sigkill-no-syscallbuf.
This atomic_printf seem to change timing enough to
make this test less likely to fail.
Error message:
FAILED at src/test/desched_sigkill.c:43: !(1 == read(parent_to_child[0], &ch, 1) && ch == 'x') errno:0 (Success)
FAILED at src/test/desched_sigkill.c:43: !(1 == read(parent_to_child[0], &ch, 1) && ch == 'x') errno:0 (Success)
FAILED at src/test/desched_sigkill.c:68: !(WIFSIGNALED(status) && WTERMSIG(status) == SIGKILL) errno:0 (Success)1 parent c05a788 commit b7601ac
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
0 commit comments