History log of /freebsd-src/contrib/netbsd-tests/lib/libc/sys/t_stat.c (Results 1 – 9 of 9)
Revision Date Author Comments
# 95c75073 14-Jan-2022 Mark Johnston <markj@FreeBSD.org>

netbsd-tests: Fix the libc stat_socket test

The test tries to connect a socket to a closed port at 127.0.0.1. It
sets O_NONBLOCK on the socket first and expects to get EINPROGRESS from
connect(2),

netbsd-tests: Fix the libc stat_socket test

The test tries to connect a socket to a closed port at 127.0.0.1. It
sets O_NONBLOCK on the socket first and expects to get EINPROGRESS from
connect(2), but this is not guaranteed, ECONNREFUSED is possible.
Handle both cases, and re-enable the test.

PR: 240621
MFC after: 1 week
Sponsored by: The FreeBSD Foundation

show more ...


# 7b2f7902 17-Sep-2019 Li-Wen Hsu <lwhsu@FreeBSD.org>

Temporarily skip flakey test case lib.libc.sys.stat_test.stat_socket

PR: 240621
Sponsored by: The FreeBSD Foundation


# 1575a795 16-Jul-2019 Brooks Davis <brooks@FreeBSD.org>

Add missing mode in open(2) calls with O_CREAT.

When O_CREAT is specified, the third, variadic argument is
required as the permission. If on is not passed, then depending
on the ABI, either the cont

Add missing mode in open(2) calls with O_CREAT.

When O_CREAT is specified, the third, variadic argument is
required as the permission. If on is not passed, then depending
on the ABI, either the contents of the third argument register
or some arbitrary stuff on the stack will be used as the permission.

This has been merged to NetBSD.

Reviewed by: asomers, ngie
Obtained from: CheriBSD
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D20972

show more ...


# 2a1440c6 14-Jan-2017 Enji Cooper <ngie@FreeBSD.org>

Diff reduce with upstream by taking diff hunks that were contributed back


# 63d1fd59 14-Jan-2017 Enji Cooper <ngie@FreeBSD.org>

Merge content currently under test from ^/vendor/NetBSD/tests/dist/@r312123

Sponsored by: Dell EMC Isilon


# 621b0f13 04-Jan-2017 Enji Cooper <ngie@FreeBSD.org>

stat_symlink: don't leak fd; close the file descriptor when done

MFC after: 3 days
Reported by: Coverity
CID: 978314


# ff0ba872 17-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Mechanically replace #if defined(__FreeBSD__) and #if defined(__NetBSD__) with
their #ifdef equivalents for everything changed in contrib/netbsd-tests. There
are some items from the vendor tree that

Mechanically replace #if defined(__FreeBSD__) and #if defined(__NetBSD__) with
their #ifdef equivalents for everything changed in contrib/netbsd-tests. There
are some items from the vendor tree that use #if defined(__FreeBSD__) or
#if defined(__NetBSD__) which are being left alone

Requested by: bde, rpaulo
Sponsored by: EMC / Isilon Storage Division

show more ...


# a39196af 23-Oct-2014 Enji Cooper <ngie@FreeBSD.org>

Add netinet/in.h for struct sockaddr_in

Sponsored by: EMC / Isilon Storage Division


# 57718be8 02-Oct-2014 Enji Cooper <ngie@FreeBSD.org>

Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 ,
minus the vendor Makefiles

Provide directions for how to bootstrap the vendor sources in
FREEBSD-upgrade

MFC after 2 weeks

Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 ,
minus the vendor Makefiles

Provide directions for how to bootstrap the vendor sources in
FREEBSD-upgrade

MFC after 2 weeks
Discussed with: rpaulo
Sponsored by: EMC / Isilon Storage Division

show more ...