Skip to content

tests: cat: add test cases for distinct read/write errors#279

Open
oech3 wants to merge 1 commit into
coreutils:masterfrom
oech3:cat-rw
Open

tests: cat: add test cases for distinct read/write errors#279
oech3 wants to merge 1 commit into
coreutils:masterfrom
oech3:cat-rw

Conversation

@oech3

@oech3 oech3 commented Jun 4, 2026

Copy link
Copy Markdown
Contributor
  • Add tests checking that read/write errors are distinguished

@pixelb pixelb changed the title tests, cat: Add test cases for distincted read/write error tests, cat: Add test cases for distinct read/write error Jun 4, 2026
@pixelb pixelb changed the title tests, cat: Add test cases for distinct read/write error tests: cat: add test cases for distinct read/write errors Jun 4, 2026
@pixelb

pixelb commented Jun 4, 2026

Copy link
Copy Markdown
Member

Yes this is worth separating out. thanks

Comment thread tests/cat/cat-distinct-err.sh Outdated
Comment thread tests/cat/cat-distinct-err.sh Outdated
@oech3 oech3 force-pushed the cat-rw branch 2 times, most recently from b8ae140 to 4eb3a45 Compare June 5, 2026 11:25
@oech3

This comment was marked as outdated.

* tests/cat/cat-distinct-err.sh: Add new tests checking that read/write errors are distincted
* tests/cat/splice.sh: move read/error distinction test to the file above
@oech3

oech3 commented Jun 13, 2026

Copy link
Copy Markdown
Contributor Author

I reverted splice test (expect for adding note about buffering) as none of any cat implementation buffer it.

@oech3 oech3 requested a review from pixelb June 13, 2026 05:02
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