Hi Avinesh,
> + int pid;
...
> + pid = SAFE_FORK();
...
> + if (pid == 0) {
Because pid is not needed for anything else, I just changed this to:
if (!SAFE_FORK()) {
and merged.
Thank you!
Kind regards,
Petr
> + rd_cnt = SAFE_READ(1, fds[0], rdbuf, wr_cnt);
> + TST_EXP_EQ_LU(wr_cnt, rd_cnt);