History log of /freebsd-current/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c
Revision Date Author Comments
# 90b5fc95 13-Feb-2021 Alex Richardson <arichardson@FreeBSD.org>

lib/libc/tests/rpc: Correctly set timeout

The rpc_control() API does not accept the CLCR_SET_RPCB_TIMEOUT command,
it only accepts RPC_SVC_CONNMAXREC_GET/RPC_SVC_CONNMAXREC_SET, so it was
not doing anything.
Instead of incorrectly calling this API, use clnt_create_timed() instead.

I noticed this because the test was timing out after 120s in the CheriBSD CI.

Reviewed By: ngie
Differential Revision: https://reviews.freebsd.org/D28478


# e3514747 02-May-2017 Brooks Davis <brooks@FreeBSD.org>

Remove expected failure now that it was fixed in r317660.

PR: 211804
Reviewed by: ngie
Obtained from: CheriBSD
MFC after: 2 weeks
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D10576


# 4acf8d70 16-Jan-2017 Enji Cooper <ngie@FreeBSD.org>

Diff reduce with upstream by using macros and logic integrated in
later revisions of the test


# 7be8de42 05-Sep-2016 Enji Cooper <ngie@FreeBSD.org>

Fix lib/libc/rpc test assumptions added in r305358

- Require root in the tcp/udp subtests (it's needed on FreeBSD when
registering services).
- Skip the tests if service registration fails.

MFC after: 59 days
X-MFC with: r305358
Reported by: Jenkins, rodrigc
Sponsored by: EMC / Isilon Storage Division


# 66d08c7d 13-Aug-2016 Enji Cooper <ngie@FreeBSD.org>

Expect :raw to fail on FreeBSD

clnt_raw fails with `RPC_CANTDECODERES` today with the testcase
provided by NetBSD.

PR: 211804
Sponsored by: EMC / Isilon Storage Division


# 28308194 14-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

Cast xdr_void to xdrproc_t to mute -Wincompatible-pointer-types warnings from
clang

This pattern is used in other areas of lib/libc/rpc

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


# 3fe8969a 03-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

rpc_control on FreeBSD is a public-ish API (not prefixed with __), not private
like NetBSD

Submitted by: pho