Skip to content

nice -n . 2>/dev/full does not abort#10762

Open
oech3 wants to merge 3 commits intouutils:mainfrom
oech3:nice-abort
Open

nice -n . 2>/dev/full does not abort#10762
oech3 wants to merge 3 commits intouutils:mainfrom
oech3:nice-abort

Conversation

@oech3
Copy link
Contributor

@oech3 oech3 commented Feb 6, 2026

Closes #10747 . Removes Try --help message which matches with gnu 9.10.

@github-actions
Copy link

github-actions bot commented Feb 6, 2026

GNU testsuite comparison:

Skip an intermittent issue tests/shuf/shuf-reservoir (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/sort/sort-stale-thread-mem (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/basenc/bounded-memory is now passing!

@oech3 oech3 marked this pull request as ready for review February 6, 2026 05:53
@github-actions
Copy link

github-actions bot commented Feb 6, 2026

GNU testsuite comparison:

Skipping an intermittent issue tests/misc/usage_vs_getopt (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/shuf/shuf-reservoir (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/sort/sort-stale-thread-mem (passes in this run but fails in the 'main' branch)

125,
translate!("nice-error-command-required-with-adjustment"),
));
let _ = writeln!(
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm a bit suspicious that this is the right place to do it?

I'm curious if you think that it would be possible to fix this in the procs lib at:

src/uucore_procs/src/lib.rs:59

Copy link
Contributor Author

Choose a reason for hiding this comment

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

looks more generic (if possible).

// We can't use `show_warning` because that will panic if stderr
// isn't writable. The GNU test suite checks specifically that the
// exit code when failing to write the advisory is 125, but Rust
// will produce an exit code of 101 when it panics.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We should cleanup this too.

@github-actions
Copy link

github-actions bot commented Feb 7, 2026

GNU testsuite comparison:

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

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.

nice -n . 2>/dev/full SIGABRT

3 participants