]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r290537,r290540,r290560,r290856,r290871,r291839:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 5 Dec 2015 04:17:40 +0000 (04:17 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 5 Dec 2015 04:17:40 +0000 (04:17 +0000)
commit29cf7be88daf4bfe43ff6c8c68a5f76a7c222b29
treedb28c4c2a0cb15c8423039892892e5756178c96d
parent5d3c1d13b7f3884c2197e21f7ddd775d1ffa98a6
MFC r290537,r290540,r290560,r290856,r290871,r291839:

r290537:

Integrate tools/regression/lib/libc/stdio into the FreeBSD test suite
as lib/libc/tests/stdio

- Fix some whitespace
- Convert the testcases to ATF
- Convert "/dev/null" to _PATH_DEVNULL

Sponsored by: EMC / Isilon Storage Division

r290540:

printfloat_test and scanfloat_test need symbols from msun; these are automatically
provided on amd64, but not i386. Add libm to DPADD/LDADD to unbreak the i386
tinderbox

Pointyhat to: ngie
Sponsored by: EMC / Isilon Storage Division

r290560:

Convert print_positional_test over to ATF

Somehow missed in r290537

Sponsored by: EMC / Isilon Storage Division

r290856 (by bapt):

also skip the definition of ':fopen_regular' to avoid the build to fail due to
unused variables defined by ATF macros

r290871:

Disable -Wformat with scanfloat_test when compiling with gcc to avoid a
"use of assignment suppression and length modifier together in scanf format"
warning on line 90 (it's intentional)

Sponsored by: EMC / Isilon Storage Division

r291839:

Initialize errno to 0 in the nul testcase before testing it

For some odd reason stable/10 requires this, otherwise it always fails
the errno == 0 check on line 196.

Sponsored by: EMC / Isilon Storage Division

git-svn-id: svn://svn.freebsd.org/base/stable/10@291840 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
14 files changed:
lib/libc/tests/stdio/Makefile
lib/libc/tests/stdio/fdopen_test.c [new file with mode: 0644]
lib/libc/tests/stdio/fmemopen2_test.c
lib/libc/tests/stdio/fopen_test.c [new file with mode: 0644]
lib/libc/tests/stdio/freopen_test.c [new file with mode: 0644]
lib/libc/tests/stdio/getdelim_test.c [new file with mode: 0644]
lib/libc/tests/stdio/mkostemp_test.c [new file with mode: 0644]
lib/libc/tests/stdio/open_memstream_test.c [new file with mode: 0644]
lib/libc/tests/stdio/open_wmemstream_test.c [new file with mode: 0644]
lib/libc/tests/stdio/perror_test.c [new file with mode: 0644]
lib/libc/tests/stdio/print_positional_test.c [new file with mode: 0644]
lib/libc/tests/stdio/printbasic_test.c [new file with mode: 0644]
lib/libc/tests/stdio/printfloat_test.c [new file with mode: 0644]
lib/libc/tests/stdio/scanfloat_test.c [new file with mode: 0644]