]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: fix integer overflow in sort-float
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Jul 2025 17:17:29 +0000 (10:17 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Jul 2025 17:18:06 +0000 (10:18 -0700)
commit8f9fc8f08c10c3b097211f95c6354a85d41f1101
treeccb3068a7149eb6fef4d01f2690efe80b8edb0d3
parent1dda42fa5839a7d079c585a0e4dd6e0dfe79ec5f
tests: fix integer overflow in sort-float

Problem reported by Cosima Neidahl <https://bugs.gnu.org/78985>.
* tests/sort/sort-float.sh (dbl_minima_order):
Use expr instead of test to compare fractions,
to avoid problems with integers too large for the shell.
tests/sort/sort-float.sh