examples/pipe:removes useless data from test cases

This commit is contained in:
GC2020 2024-04-08 19:40:13 +08:00 committed by Xiang Xiao
parent 7e30c0e4c9
commit f633d11b63

View File

@ -157,6 +157,12 @@ int main(int argc, FAR char *argv[])
return 6;
}
ret = remove(FIFO_PATH1);
if (ret != 0)
{
fprintf(stderr, "pipe_main: remove failed with errno=%d\n", errno);
}
/* Perform the FIFO interlock test */
fprintf(stderr, "\npipe_main: Performing pipe interlock test\n");