HomeFreeBSD

date: Fix tests by initializing timespec structure

Description

date: Fix tests by initializing timespec structure

The tests related to nanosecond support were failing on amd64 due to
uninitialized timespec structure.

Fixes: eeb04a736cb9 date: Add support for nanoseconds
Reviewed by: markj
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D44975

Details

Provenance
0mpAuthored on Apr 26 2024, 3:19 PM
Reviewer
markj
Differential Revision
D44975: date: Fix tests by initializing timespec structure
Parents
rG5626f9e79090: style.9: Document the existence of tools/build/checkstyle9.pl
Branches
Unknown
Tags
Unknown