-
-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GMP tests for mpz_inp_str
fail
#1221
Comments
lzcunt
added a commit
to lzcunt/mlibc
that referenced
this issue
Jan 28, 2025
This patch adds a simple test for ftell's functionality which also acts as a simple reproducible test case for the failing GMP tests documented in managarm#1221. This test currently fails because our behaviour when checking ftell after a ungetc doesn't match glibc.
lzcunt
added a commit
to lzcunt/mlibc
that referenced
this issue
Jan 28, 2025
This patch adds a simple test for ftell's functionality which also acts as a simple reproducible test case for the failing GMP tests documented in managarm#1221. This test currently fails because our behaviour when checking ftell after a ungetc doesn't match glibc.
lzcunt
added a commit
to lzcunt/mlibc
that referenced
this issue
Jan 28, 2025
This patch adds a simple test for ftell's functionality which also acts as a simple reproducible test case for the failing GMP tests documented in managarm#1221. This test currently fails because our behaviour when checking ftell after a ungetc doesn't match glibc.
lzcunt
added a commit
to lzcunt/mlibc
that referenced
this issue
Jan 28, 2025
Fixes the failing GMP tests documented in managarm#1221.
lzcunt
added a commit
to lzcunt/mlibc
that referenced
this issue
Jan 28, 2025
This patch adds a simple test for ftell's functionality which also acts as a simple reproducible test case for the failing GMP tests documented in managarm#1221. This test used to fail because our behaviour when checking ftell after a ungetc doesn't match glibc.
lzcunt
added a commit
to lzcunt/mlibc
that referenced
this issue
Jan 28, 2025
This patch adds a simple test for ftell's functionality which also acts as a simple reproducible test case for the failing GMP tests documented in managarm#1221. This test used to fail because our behaviour when checking ftell after a ungetc didn't match glibc.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, all GMP test pass except these two:
tests/mpz/io.c:
tests/mpz/t-inp_str.c:
Seemingly there is an off-by-one somewhere that causes
ftell
ormpz_inp_str
's read bytes to be wrong.The text was updated successfully, but these errors were encountered: