Skip to content

Conversation

@jfinkels
Copy link
Collaborator

@jfinkels jfinkels commented Jan 19, 2025

Re-enable the test case

returns_ 1 $prog '%.*dx\n' $INT_OFLOW 0 >>out 2> /dev/null || fail=1                                                     

in the GNU test file tests/printf/printf.sh. On my machine, the behavior of this command with uutils printf now matches the behavior of GNU printf:

$ printf '%.*dx\n' 2147483648 0
printf: invalid precision: '2147483648'

@github-actions
Copy link

GNU testsuite comparison:

GNU test failed: tests/misc/usage_vs_getopt. tests/misc/usage_vs_getopt is passing on 'main'. Maybe you have to rebase?
Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/misc/stdbuf is no longer failing!

@jfinkels jfinkels marked this pull request as ready for review January 19, 2025 18:48
@sylvestre sylvestre merged commit 9f07d50 into uutils:main Jan 19, 2025
66 of 67 checks passed
@jfinkels jfinkels deleted the printf-test-int-overflow branch January 19, 2025 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants