Skip to content

Conversation

irbeam256
Copy link

Closes #7903

Extends uptime with a pretty printing flag similar to the procps-ng version.

@irbeam256 irbeam256 force-pushed the 7903_pretty_print branch 2 times, most recently from 131ddc4 to 42a5e5d Compare May 11, 2025 02:02
@sylvestre
Copy link
Contributor

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)

Copy link

GNU testsuite comparison:

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

Copy link

GNU testsuite comparison:

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

@sylvestre
Copy link
Contributor

please document this in:
https://github.com/uutils/coreutils/blob/main/docs/src/extensions.md

ping ? :)

Copy link

GNU testsuite comparison:

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

@irbeam256
Copy link
Author

My bad, documented now.

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)

Copy link

GNU testsuite comparison:

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

Copy link

GNU testsuite comparison:

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

@irbeam256 irbeam256 force-pushed the 7903_pretty_print branch from ceac40e to 0f122bd Compare May 22, 2025 04:05
@cakebaker
Copy link
Contributor

Somehow your commit contains many things unrelated to uptime :|

@sylvestre
Copy link
Contributor

and conflicts :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

uptime: Add -p, --pretty show uptime in pretty format option
4 participants