Skip to content

Conversation

@oech3
Copy link
Contributor

@oech3 oech3 commented Feb 1, 2026

Most GNU does not catch I/O error of error messages.

@oech3 oech3 marked this pull request as draft February 1, 2026 19:09
@github-actions
Copy link

github-actions bot commented Feb 1, 2026

GNU testsuite comparison:

GNU test failed: tests/basenc/base64. tests/basenc/base64 is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/basenc/basenc. tests/basenc/basenc is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/chgrp/no-x. tests/chgrp/no-x is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/chmod/no-x. tests/chmod/no-x is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/chown/deref. tests/chown/deref is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/chown/preserve-root. tests/chown/preserve-root is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/chroot/chroot-fail. tests/chroot/chroot-fail is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/cksum/b2sum. tests/cksum/b2sum is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/cksum/cksum-base64. tests/cksum/cksum-base64 is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/cksum/cksum-base64-untagged. tests/cksum/cksum-base64-untagged is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/cksum/cksum-c. tests/cksum/cksum-c is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/cksum/cksum-sha3. tests/cksum/cksum-sha3 is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/cksum/md5sum. tests/cksum/md5sum is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/cksum/sha1sum. tests/cksum/sha1sum is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/cp/abuse. tests/cp/abuse is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/cp/backup-is-src. tests/cp/backup-is-src is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/cp/cp-mv-enotsup-xattr. tests/cp/cp-mv-enotsup-xattr is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/cp/fail-perm. tests/cp/fail-perm is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/cp/into-self. tests/cp/into-self is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/cp/link-deref. tests/cp/link-deref is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/cp/same-file. tests/cp/same-file is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/cp/thru-dangling. tests/cp/thru-dangling is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/csplit/csplit. tests/csplit/csplit is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/csplit/csplit-io-err. tests/csplit/csplit-io-err is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/cut/cut. tests/cut/cut is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/dd/skip-seek-past-dev. tests/dd/skip-seek-past-dev is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/dd/skip-seek-past-file. tests/dd/skip-seek-past-file is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/df/df-output. tests/df/df-output is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/du/bigtime. tests/du/bigtime is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/du/files0-from. tests/du/files0-from is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/du/files0-from-dir. tests/du/files0-from-dir is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/du/long-sloop. tests/du/long-sloop is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/du/threshold. tests/du/threshold is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/env/env. tests/env/env is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/env/env-S. tests/env/env-S is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/env/env-signal-handler. tests/env/env-signal-handler is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/expr/expr. tests/expr/expr is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/fmt/base. tests/fmt/base is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/head/head-write-error. tests/head/head-write-error is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/id/zero. tests/id/zero is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/install/basic-1. tests/install/basic-1 is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/join/join. tests/join/join is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/ln/hard-backup. tests/ln/hard-backup is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/ln/hard-to-sym. tests/ln/hard-to-sym is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/ls/time-style-diag. tests/ls/time-style-diag is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/misc/basename. tests/misc/basename is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/misc/comm. tests/misc/comm is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/misc/dircolors. tests/misc/dircolors is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/misc/dirname. tests/misc/dirname is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/misc/expand. tests/misc/expand is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/misc/mktemp. tests/misc/mktemp is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/misc/paste. tests/misc/paste is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/misc/sync. tests/misc/sync is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/misc/tsort. tests/misc/tsort is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/misc/unexpand. tests/misc/unexpand is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/misc/yes. tests/misc/yes is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/mkdir/selinux. tests/mkdir/selinux is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/mkdir/smack-no-root. tests/mkdir/smack-no-root is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/mv/backup-is-src. tests/mv/backup-is-src is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/mv/diag. tests/mv/diag is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/mv/dup-source. tests/mv/dup-source is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/mv/force. tests/mv/force is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/mv/hard-4. tests/mv/hard-4 is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/mv/i-4. tests/mv/i-4 is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/mv/into-self-2. tests/mv/into-self-2 is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/mv/symlink-onto-hardlink. tests/mv/symlink-onto-hardlink is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/mv/symlink-onto-hardlink-to-self. tests/mv/symlink-onto-hardlink-to-self is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/mv/trailing-slash. tests/mv/trailing-slash is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/od/od. tests/od/od is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/printf/printf. tests/printf/printf is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/printf/printf-cov. tests/printf/printf-cov is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/printf/printf-indexed. tests/printf/printf-indexed is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/printf/printf-surprise. tests/printf/printf-surprise is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/ptx/ptx. tests/ptx/ptx is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/readlink/readlink-fp-loop. tests/readlink/readlink-fp-loop is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/readlink/readlink-posix. tests/readlink/readlink-posix is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/rm/cycle. tests/rm/cycle is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/rm/d-2. tests/rm/d-2 is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/rm/dir-no-w. tests/rm/dir-no-w is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/rm/dir-nonrecur. tests/rm/dir-nonrecur is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/rm/empty-name. tests/rm/empty-name is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/rm/fail-eacces. tests/rm/fail-eacces is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/rm/inaccessible. tests/rm/inaccessible is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/rm/r-4. tests/rm/r-4 is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/rm/rm2. tests/rm/rm2 is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/rm/unread2. tests/rm/unread2 is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/rm/unreadable. tests/rm/unreadable is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/rmdir/symlink-errors. tests/rmdir/symlink-errors is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/seq/seq. tests/seq/seq is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/seq/seq-epipe. tests/seq/seq-epipe is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/shred/shred-passes. tests/shred/shred-passes is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/shred/shred-remove. tests/shred/shred-remove is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/shred/shred-size. tests/shred/shred-size is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/sort/sort. tests/sort/sort is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/sort/sort-files0-from. tests/sort/sort-files0-from is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/sort/sort-merge. tests/sort/sort-merge is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/split/l-chunk. tests/split/l-chunk is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/split/suffix-length. tests/split/suffix-length is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/stat/stat-printf. tests/stat/stat-printf is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/tail/follow-stdin. tests/tail/follow-stdin is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/tail/retry. tests/tail/retry is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/tail/tail. tests/tail/tail is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/test/test. tests/test/test is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/test/test-diag. tests/test/test-diag is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/touch/not-owner. tests/touch/not-owner is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/tr/tr. tests/tr/tr is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/tr/tr-case-class. tests/tr/tr-case-class is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/truncate/truncate-fail-diag. tests/truncate/truncate-fail-diag is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/uniq/uniq. tests/uniq/uniq is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/wc/wc-files0-from. tests/wc/wc-files0-from is passing on 'main'. Maybe you have to rebase?
Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/rm/rm1 (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/tty/tty-eof (passes in this run but fails in the 'main' branch)

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

GNU testsuite comparison:

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 February 1, 2026 19:48
@github-actions
Copy link

github-actions bot commented Feb 2, 2026

GNU testsuite comparison:

Skipping an intermittent issue tests/tail/inotify-dir-recreate (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)

@github-actions
Copy link

github-actions bot commented Feb 2, 2026

GNU testsuite comparison:

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)

@AldanTanneo
Copy link

b434916 (#10668) would need to be reverted.

@oech3
Copy link
Contributor Author

oech3 commented Feb 3, 2026

I don't think so since this project does not recommend macros https://github.com/uutils/coreutils/blob/main/CONTRIBUTING.md#macros .

@AldanTanneo
Copy link

AldanTanneo commented Feb 3, 2026

A macro was used before, it's a utility macro used in many places and it unifies the code base with a single way of reporting errors. It also makes it easier to change the approach later and not have to go and fix every single use of writeln!.

@sylvestre
Copy link
Contributor

yeah, it is probably easier to go this way
don't you agree @oech3 ?

@oech3
Copy link
Contributor Author

oech3 commented Feb 3, 2026

@sylvestre I'm OK for both approach if we finally achieve compat binaries.

@oech3
Copy link
Contributor Author

oech3 commented Feb 3, 2026

But this macro PR does not cover everything.

@sylvestre sylvestre merged commit 8c406d7 into uutils:main Feb 3, 2026
153 of 155 checks passed
@oech3 oech3 deleted the abort branch February 3, 2026 19:51
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.

3 participants