tests: Even more work on error handling
realpath: Fixing undefined behaviour in the second test. If the call fails the resolved_name argument cannot be used for error checking because its state is undefined by SUSv2. pipe: Changing the order of close and write error handling code. Errors in close could overwrite errno after write errors, returning incorrect error messages. gmtime: Removed duplicate checks Other fixes for fseek, rename, mktime, putwchar
parent
2d027f07
No related branches found
No related tags found
Showing
- tests/stdio/fseek.c 1 addition, 1 deletiontests/stdio/fseek.c
- tests/stdio/rename.c 2 additions, 3 deletionstests/stdio/rename.c
- tests/stdlib/realpath.c 9 additions, 20 deletionstests/stdlib/realpath.c
- tests/time/gmtime.c 0 additions, 8 deletionstests/time/gmtime.c
- tests/time/mktime.c 13 additions, 4 deletionstests/time/mktime.c
- tests/unistd/pipe.c 39 additions, 35 deletionstests/unistd/pipe.c
- tests/wchar/putwchar.c 3 additions, 8 deletionstests/wchar/putwchar.c
Loading
Please register or sign in to comment