ltp
ltp copied to clipboard
Add feof() conformance tests and assertions.xml
Adds
- assertions.xml
- Testcases 1-1.c and 2-1.c
Change-Id: I6b59efd23d53c48efc7ba94e5209520ead1e5b33 Signed-off-by: Venate, Salini [email protected]
Please also add a Signed-off-by
line in the commit message, e.g., use git commit -s
.
Updated the commit. @ngie-eign @metan-ucw Please review.
Test demands to open the file again for reading what was written before. With tmpfile(), same file cannot be opened after closing. With tmpnam(), it gives a warning saying warning: the use of tmpnam is dangerous, better use mkstemp
. I am not sure if it is safe to use.
Test demands to open the file again for reading what was written before. With tmpfile(), same file cannot be opened after closing. With tmpnam(), it gives a warning saying
warning: the use of tmpnam is dangerous, better use mkstemp
. I am not sure if it is safe to use.
Using tmpnam (while not advised in the general purpose case) is totally valid in this case.
@ngie-eign Please review
@ngie-eign Can we merge this PR.
@ngie-eign Build failed here while synchronizing updates-modular
repo.
@Rjasuja: it’s passing Travis here. Could you please elaborate?
There was some error before. but it's passed now.
@ngie-eign Please review the updated commit