diff options
| author | Pádraig Brady <P@draigBrady.com> | 2023-07-15 21:10:38 +0100 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2023-07-17 11:28:36 +0100 |
| commit | ca7711456f8cedbf40bec00ced04e7d6d9fc85be (patch) | |
| tree | 835c2cfab8a43238f2d9b0c591db3936a826d077 /tests/misc/write-errors.sh | |
| parent | od: promptly diagnose write errors (diff) | |
| download | coreutils-ca7711456f8cedbf40bec00ced04e7d6d9fc85be.tar.gz coreutils-ca7711456f8cedbf40bec00ced04e7d6d9fc85be.zip | |
uniq: promptly diagnose write errors
* src/uniq.c (write_line): Check the output from fwrite() immediately.
(check_file): Likewise.
* tests/misc/write-errors.sh: Enable the test case.
* NEWS: Mention the improvement.
Diffstat (limited to 'tests/misc/write-errors.sh')
| -rwxr-xr-x | tests/misc/write-errors.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/write-errors.sh b/tests/misc/write-errors.sh index 31b6433d7..20942e068 100755 --- a/tests/misc/write-errors.sh +++ b/tests/misc/write-errors.sh @@ -46,7 +46,7 @@ tail -n+1 -z /dev/zero tee < /dev/zero tr . . < /dev/zero unexpand /dev/zero -# TODO: uniq -z -D /dev/zero +uniq -z -D /dev/zero yes " | sort -k 1b,1 > all_writers || framework_failure_ |
