HomeFreeBSD

getentropy tests: Update after commit 473681a1a506da

Description

getentropy tests: Update after commit 473681a1a506da

  • Use GETENTROPY_MAX instead of hard-coding the value.
  • Check for EINVAL instead of EIO

Fixes: 473681a1a506 ("libc: Fix getentropy POSIX 2024 conformance issues")
(cherry picked from commit c5056a3931b41a803a24b89400d38d5c5f843612)

Details

Provenance
markjAuthored on Jan 19 2025, 4:17 PM
ngieCommitted on Tue, Apr 1, 1:52 AM
Parents
rG8d95e941d4cc: netbsd-tests: Update a test case to chase grep symlink handling changes
Branches
Unknown
Tags
Unknown