Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: harden skipcond for libc in LuaJIT-tests
The `strtod parsing` subtest in the <lib/base/tonumber_scan.lua> checks the results yielded by the `strtod()` via FFI call. In glibc versions before 2.28 it returns an incorrect result (NaN instead of inf) for "0x3p1023" [1]. This patch hardens the skipcond for this test for an older version of the libc installed. [1]: https://sourceware.org/bugzilla/show_bug.cgi?id=23279 Reviewed-by: Maxim Kokryashkin <[email protected]> Reviewed-by: Sergey Bronnikov <[email protected]> Signed-off-by: Sergey Kaplun <[email protected]>
- Loading branch information