Skip to content

test 1623: add test data - #23648

Closed
bagder wants to merge 1 commit into
masterfrom
bagder/test1623
Closed

bagder wants to merge 1 commit into
masterfrom
bagder/test1623

Conversation

@bagder

@bagder bagder commented Oct 28, 2026

Copy link
Copy Markdown
Member

Verify the maximum value and the value just over max.

Mention test 1623 in the header comment for secs2ms()

Verify the maximum value and the value just over max.

Mention test 1623 in the header comment for secs2ms()
@bagder
bagder marked this pull request as ready for review October 28, 2026 12:38
@bagder
bagder requested a balanced review from Copilot October 28, 2026 12:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues for the secs2ms() boundary-test additions and accompanying comment update.

No open issues 🎉

What changed in this PR

This PR strengthens test 1623’s boundary coverage for secs2ms(), the command-line tool’s seconds-to-milliseconds conversion helper.

Changes:

  • Adds upper-bound valid and invalid inputs for platforms where long is wider than 32 bits, including a valid input with leading zeros.
  • Adds a comment linking secs2ms() to test 1623; production behavior is unchanged.
File Description
tests/​tunit/​tool1623.c Adds large-value boundary cases guarded by SIZEOF_LONG > 4.
src/​tool_paramhlp.c References test 1623 in the secs2ms() header comment.

Review effort: Balanced

@bagder bagder closed this in 58f59bd Oct 28, 2026
@bagder
bagder deleted the bagder/test1623 branch October 28, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants