Re: Fix test failure on OpenBSD 7.6
Collin Funk <[email protected]> Sun, 27 Apr 2025 14:55:27 -0700
| Newsgroups | gmane.comp.sysutils.autoconf.patches |
|---|---|
| Message-ID | <[email protected]> |
Collin Funk <[email protected]> writes: > However, since OpenBSD's /bin/sh 'test' builtin only compares seconds, > the check fails even though it shouldn't. FYI, this was fixed in OpenBSD 7.7 [1]: Made ksh(1) use timespeccmp() and st_mtim instead of comparing st_mtime to fix comparison of files with modification times that differ by less than a second. > I've added a patch adding a sleep before creating the dummy file, which > should give enough time for the check to work. However, I still think the patch should be applied for older OpenBSD and other older systems. Collin [1] https://www.openbsd.org/77.html