8000 uptime: improve readability of `uptime_since` by cakebaker · Pull Request #8164 · uutils/coreutils · GitHub
[go: up one dir, main page]

Skip to content

uptime: improve readability of uptime_since #8164

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

Merged
merged 1 commit into from
Jun 21, 2025

Conversation

cakebaker
Copy link
Contributor

This PR improves the readability of uptime_since by reducing the number of cfg attributes and renaming a variable.

reduce number of cfgs, rename var
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)

@sylvestre sylvestre merged commit f825409 into uutils:main Jun 21, 2025
75 checks passed
@cakebaker cakebaker deleted the uptime_improve_uptime_since branch June 22, 2025 12:11
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
0