HomeFreeBSD

FreeBSD doesn't support strings greater than MAXHOSTNAMELEN-1 in

Description

FreeBSD doesn't support strings greater than MAXHOSTNAMELEN-1 in
{get,set}{domain,host}name. Adjust the tests to not exceed that
value when testing out the code

Add a positive and negative test for MAXHOSTNAMELEN-1 and
MAXHOSTNAMELEN, respectively

PR: 181127
In collaboration with: pho
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
ngieAuthored on
Parents
rS272904: Don't pass RF_ALLOCATED to bus_alloc_resource().
Branches
Unknown
Tags
Unknown

Event Timeline