OpenGrok
Cross Reference: t_fopen.c
xref
: /
src
/
tests
/
lib
/
libc
/
stdio
/
t_fopen.c
Home
|
History
|
Annotate
|
Download
|
only in
stdio
History log of
/src/tests/lib/libc/stdio/t_fopen.c
Revision
Date
Author
Comments
1.8
21-Feb-2020
kamil
Avoid undefined behavior in is_module_present()
t_fopen.c:339:18, member access within misaligned address 0x7f7ff7ebd004
for type 'modstat_t' (aka 'struct modstat') which requires 8 byte alignment
1.7
16-Jul-2019
martin
PR misc/54382: whenever open(2) is called with O_CREAT, make sure to
pass an open mode argument.
1.6
05-Feb-2019
kamil
Add 2 new tests in t_fopen
Added:
- fopen_nullptr (without COMPAT_10)
- fopen_nullptr_compat10 (with COMPAT_10)
PR kern/53948
Reviewed by <mgorny>
1.5
06-Nov-2017
kre
branches: 1.5.4;
In the fopen_regular and fopen_symlink tests, when (that is, if) a
failure occurs, distinguish in the failure message the cases where the
open succeeded (and should not have), and where it failed, but not for
the expected reason (the "wrong errno" case not tested, would require
manufacturing a broken kernel...).
Add O_NOFOLLOW ('l' mode modifier) tests to the fopen_mode test case
(tests that are intended to open the file) and also add a few missing
commas which were causing a few of the sub-tests to be skipped, and
others to be not quite testing exactly what was intended.
1.4
06-Nov-2017
christos
add a symlink test
1.3
14-Sep-2011
martin
A test case may not assume opening /dev/tty does something sensible.
1.2
12-Sep-2011
jruoho
Add one more case. Also remove a double fclose(3) and do not
steal stderr(3) as atf(7) may use it in case of failures.
1.1
11-Sep-2011
jruoho
Few unit tests for the fopen(3) family.
1.5.4.3
13-Apr-2020
martin
Mostly merge changes from HEAD upto 20200411
1.5.4.2
08-Apr-2020
martin
Merge changes from current as of 20200406
1.5.4.1
10-Jun-2019
christos
Sync with HEAD
Indexes created Thu Sep 25 16:09:42 GMT 2025