HomeFreeBSD

ping tests: Fix test on i386 platforms

Description

ping tests: Fix test on i386 platforms

Actually use INT_MAX (0x7fffffff), not UINT_MAX (0xffffffff) to avoid
overflowing time_t and missing the test.

Reported by: Jenkins
Reviewed by: markj
Fixes: 5b8af90fe332 ("ping: Add ATF-Python tests")
Pull Request: https://github.com/freebsd/freebsd-src/pull/874
Differential Revision: https://reviews.freebsd.org/D42268

(cherry picked from commit 24fe0cb84d71a0e9d648c43f92b5c3a730c3855a)

Details

Provenance
jlduranAuthored on Oct 17 2023, 11:35 AM
markjCommitted on Nov 3 2023, 1:30 PM
Reviewer
rG5b8af90fe332: ping: Add ATF-Python tests
Differential Revision
D42268: ping tests: Fix test on 32-bit platforms
Parents
rG098273e649c6: nfsd: Fix a server crash
Branches
Unknown
Tags
Unknown