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

Details

Provenance
jlduranAuthored on Oct 17 2023, 11:35 AM
markjCommitted on Oct 19 2023, 1:35 PM
Reviewer
rG5b8af90fe332: ping: Add ATF-Python tests
Differential Revision
D42268: ping tests: Fix test on 32-bit platforms
Parents
rGfabf705f4b5a: pf: fix pf divert-to loop
Branches
Unknown
Tags
Unknown