]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: fix new date/resolution.sh test on macOS
authorPádraig Brady <P@draigBrady.com>
Tue, 28 Oct 2025 12:52:55 +0000 (12:52 +0000)
committerPádraig Brady <P@draigBrady.com>
Tue, 28 Oct 2025 12:56:26 +0000 (12:56 +0000)
commit5a00d0a651f40fe6257af42320438c3b88cdb363
treef66d21e3f0c73a3a273205f364623b46858f013b
parent8177cc5b5d953cdc90d4be060c2ea52e46452352
tests: fix new date/resolution.sh test on macOS

* tests/date/resolution.sh: Fix comparison on systems with less than
nano second reslution, where we use sed to discard the redundant
trailing zeros output by date --resolution.
Reported by Bruno Haible on macOS.
tests/date/resolution.sh