[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: coreutils-9.3 test-strto[u]ll
From: |
Bruno Haible |
Subject: |
Re: coreutils-9.3 test-strto[u]ll |
Date: |
Tue, 18 Apr 2023 19:56:37 +0200 |
Hi Kamil,
> I had to revert the following gnulib commit to be able to build it
> in the Fedora Rawhide buildroot:
> https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=4e38f4a0c65d4d19883b404a84169088b84b60d2
>
> ... where it was failing with:
>
> FAIL: test-strtoll
> ==================
> ../../gnulib-tests/test-strtoll.c:290: assertion 'ptr == input + 1' failed
> FAIL test-strtoll (exit status: 134)
> FAIL: test-strtoull
> ===================
> ../../gnulib-tests/test-strtoull.c:289: assertion 'ptr == input + 1' failed
> FAIL test-strtoull (exit status: 134)
When you say that it did not "build", it sounds like there was a compilation
error or link error. In fact, there were only test failures. Maybe that is
a particular slang inside Fedora, but in my understanding (outside Fedora)
test failures are of a lower severity than compilation errors.
Regarding these two unit tests: The unit tests are correct. It's the code
in glibc (post 2.37) that isn't. I have now opened a glibc bug about it:
https://sourceware.org/bugzilla/show_bug.cgi?id=30371
Bruno