Skip to content

tee: fix < . message and strip errno#11483

Open
oech3 wants to merge 1 commit intouutils:mainfrom
oech3:tee-err
Open

tee: fix < . message and strip errno#11483
oech3 wants to merge 1 commit intouutils:mainfrom
oech3:tee-err

Conversation

@oech3
Copy link
Copy Markdown
Contributor

@oech3 oech3 commented Mar 25, 2026

Closes #11482

@github-actions
Copy link
Copy Markdown

GNU testsuite comparison:

Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/cut/bounded-memory (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/date/date-locale-hour (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/pr/bounded-memory (passes in this run but fails in the 'main' branch)

@sylvestre
Copy link
Copy Markdown
Contributor

please add a test

@github-actions
Copy link
Copy Markdown

GNU testsuite comparison:

Skipping an intermittent issue tests/date/date-locale-hour (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/date/resolution (passes in this run but fails in the 'main' branch)
Note: The gnu test tests/cp/link-heap is now being skipped but was previously passing.
Note: The gnu test tests/cut/bounded-memory is now being skipped but was previously passing.
Note: The gnu test tests/expand/bounded-memory is now being skipped but was previously passing.
Note: The gnu test tests/printf/printf-surprise is now being skipped but was previously passing.

@github-actions
Copy link
Copy Markdown

GNU testsuite comparison:

Skipping an intermittent issue tests/date/date-locale-hour (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/date/resolution (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/pr/bounded-memory (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/tty/tty-eof (passes in this run but fails in the 'main' branch)

@oech3 oech3 marked this pull request as ready for review March 25, 2026 08:35
@oech3
Copy link
Copy Markdown
Contributor Author

oech3 commented Mar 25, 2026

Added test and unlocked draft

@anastygnome
Copy link
Copy Markdown
Contributor

Hey, shouldn't the read error be translated ?

@oech3
Copy link
Copy Markdown
Contributor Author

oech3 commented Mar 29, 2026

translate!("tee-error-stdin", "error" => strip_errno(&f)?

@oech3
Copy link
Copy Markdown
Contributor Author

oech3 commented Mar 29, 2026

I cannot write the language fr-FR.ftl .

@anastygnome
Copy link
Copy Markdown
Contributor

anastygnome commented Mar 29, 2026

on a french locale, I get :

tee: erreur de lecture: est un dossier

(this last part comes from errno)

@github-actions
Copy link
Copy Markdown

GNU testsuite comparison:

GNU test failed: tests/seq/seq-epipe. tests/seq/seq-epipe is passing on 'main'. Maybe you have to rebase?
Skipping an intermittent issue tests/pr/bounded-memory (passes in this run but fails in the 'main' branch)
Note: The gnu test tests/cut/bounded-memory is now being skipped but was previously passing.

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.

tee: tee < . stdin: Is a directory (os error 21) (instead of tee: read error: Is a directory)

3 participants