Repository navigation
Description
This catalogues the remaining GNU coreutils 9.12 test-suite failures so
they can be tracked and worked on individually. It replaces #13841.
Refreshed 2026-11-17 from the GnuTests CI run on main (316d43b,
native + root + SELinux + SMACK runs aggregated):
718 tests, 681 PASS, 25 FAIL, 1 ERROR, 11 SKIP (2026-11-15: 676 PASS, 29 FAIL, 2 ERROR, 12 SKIP; 2026-11-03: 665 PASS, 37 FAIL, 3 ERROR, 15 SKIP).
Each open entry links its bug report. A PR number means a fix is under review.
Entries fixed since September are folded at the bottom.
To run one test: bash util/build-gnu.sh && bash util/run-gnu-test.sh tests/<dir>/<test>.sh
FAILED Tests
- date/date-debug.sh:
date --debugoutput - date: --debug option not yet implemented #7342 - dd/fail-ftruncate-fstat.sh, dd/misc.sh:
ddrelies onftruncateto truncate the output - dd: output truncation fails or writes anyway when ftruncate fails #16645;count=00x<huge>- dd: a zero factor no longer short-circuits the multiplier #14160 - env/env-signal-handler.sh: actually a
timeout -kbug, KILL is sent even though the first signal ended the command - timeout: -k sends KILL even though the first signal already ended the command #16642 - misc/close-stdin.sh: programs run with stdin closed must diagnose EBADF - still
dd,factor,numfmt,stty,tsort(cat: cat, uucore::signals: write-only stdin is read as EOF instead of reporting EBADF #15937) - misc/io-errors.sh:
cmd >&-exits 0 silently instead of reporting EBADF - many utils: cmd arg >&- should not silently success #9795. Listed as intermittent, but fails in every run - misc/read-errors.sh: programs diagnose read errors (related: sort, uniq, fold: a read error does not say which input failed #15190)
- misc/responsive.sh: programs stay responsive to input - PR gnu responsive test (1/2) #16088
- misc/stdbuf.sh:
stdbuf -oL/-o0have no effect onuniq- stdbuf: -oL and -o0 have no effect on uniq #16649. Listed as intermittent, but fails in every run - misc/traversal-missing.sh: an entry removed during traversal must be ignored by
ls,du,chmod,chown,chgrp- ls, du, chmod, chown, chgrp: an entry removed during traversal is reported as an error #16644 - misc/warning-errors.sh: utilities exit 0 when a warning can't be written;
du -s --max-depth=0errors instead of warning - many utilities exit 0 when a warning can't be written to stderr #16646 - misc/write-errors.sh: ~40 utilities still fail to diagnose EBADF/ENOSPC,
cut -b1- /dev/zeroaborts on a 16MiB allocation (cut: cat /dev/zero |cut -c1- uses unbounded RAM #11133) - mv/mv-special-1.sh, mv/mv-special-2.sh (root): moving a large file, a device node and a socket across filesystems - mv: moving a special file across filesystems deletes the destination on failure #13145, PR mv: recreate special files in directories moved across devices #15123, PR mv: report specific errors instead of generic permission denied on cross-device fallback #16057
- nproc/nproc-quota.sh (strace): cgroup-quota injection for
nproc- nproc: add test case for quota #16527 - od/od.pl: bad
-j/-Narguments quoted as$'a\t'instead of'a\t',-j/-N/-Soverflow accepted (od: hangs instead of reporting offset overflow #16498) - claimed by ChihweiLHBird - pr/pr-tests.pl:
prpage formatting (pr: page numbers with a leading + or leading blanks are rejected #16633, pr: multi-column mode uses spaces instead of tabs for inter-column padding #16510, pr: char wider than the page width is not dropped #16499, pr: -o/--indent does not pad the header line #16211, pr: flag -t behaviour different than in GNU pr #14334, pr: flags -T and -s behave differently than in GNU pr #12313, pr: incorrectly interprets argument to -n #10302) - printf/printf.sh: regression from printf: quote ignored chars in the character constant warning #16509, which follows GNU master; the 9.12 test still expects the old unquoted warning. Fix: backport master's
printf.shinutil/fetch-gnu.sh(PR pending) - rm/rm-readdir-fail.sh (strace): simulated readdir failures - tests/rm/rm-readdir-fail?: strace -o /dev/null -e inject=getdents64:error=EIO rm -rf has wrong error #10272, rm: "traversal failed" is not shown when 2nd getdents64 failed on broken device #15206
- tail/debug.sh, tail/inotify-dir-recreate.sh:
tail --debugmode messages - tail: --debug always says notification mode and misses the switch to polling #16643.inotify-dir-recreateis listed as intermittent, but fails in every run - tail/follow-name.sh:
--follow=namemust not imply--retry- PR tail: exit when --follow=name has no files left and no --retry #16567 - tail/inotify-rotate-resources.sh:
tail -Fonly watches the parent directory, not the file - tail: -F does not watch the followed file itself, only its directory #16650 - tail/pid-pipe.sh:
tail --pid=PID fifoexits responsively (intermittent) - GNU: tests/tail/pid-pipe intermittent failure #12325, PR tail: keep named inputs nonblocking with --pid #15479 - pr/bounded-memory.sh:
pron files larger than memory (intermittent) - pr: memory leak on infinite data streams #13479
SKIPPED Tests
- misc/tty-quoting.sh:
basename,dirname,readlink,realpath,dudon't quote names on a terminal - basename, dirname, readlink, realpath, du: names are not quoted on a terminal #16647 - sort/sort-locale.sh: locale-aware
sortordering (related: sort -k doesn't handle locale #3123, sort -M Locale Month Parsing Gap #9715)
Skipped on purpose or for lack of runner support: misc/getopt_vs_usage.sh
and misc/usage_vs_refs.sh (patched out in util/gnu-patches/, PR #14717),
chcon/traversal-missing.sh, ls/no-cap.sh.
INCOMPATIBLE Tests
Tests using LD_PRELOAD or gdb breakpoints cannot be fixed without matching
internal implementation details (skipped in CI):
- cp/nfs-removal-race.sh (LD_PRELOAD): NFS client removal race during
cp S D - df/skip-duplicates.sh (LD_PRELOAD): duplicate mount-list entry injection
- rm/r-root.sh (LD_PRELOAD + gdb): tries to remove
/recursively - tail/inotify-race.sh, tail/inotify-race2.sh (gdb): races during the initial read - GnuTests: tests/tail/inotify-race*.sh does not work on the CI #10573
Several failures above (dd/fail-ftruncate-fstat, dd/misc,
misc/traversal-missing, nproc/nproc-quota, rm/rm-readdir-fail)
use strace fault injection; they are not structurally impossible - they
fail because our syscall sequence or our error messages differ.
Fixed since September
- env/env.sh, misc/printenv.sh - PR Fix the env test #16521
- env/env0-from.sh - PR env: support --env0-from #14609
- misc/usage_vs_getopt.sh - PR env: drop the ... after --debug in --help, and fix the flaky usage_vs_getopt #16534
- id/smack.sh, mkdir/smack-no-root.sh, mkdir/smack-root.sh, df/skip-rootfs.sh (qemu harness) - PR run-gnu-tests-smack-ci.sh: run the uutils binaries inside the VM #16523
- cp/cp-mv-enotsup-xattr.sh (root) - PR mv: warn when the destination doesn't support xattrs #15101
- cut/bounded-memory.sh - PR cut: bound memory usage for streamable selections and improve the perf (+23%) #15094
- df/over-mount-device.sh (root) - PR df: report an over-mounted device instead of falling back to statfs #15977
- env/printenv.sh (backported from master)
- id/gnu-zero-uids.sh, install/stdin.sh, wc/wc-sjis.sh: no longer skipped, they pass
- join/join.pl - PR join: accept separate -o field operands #15408
- pr/options.sh - PR pr: report invalid numeric options and page ranges as GNU does #15176
- ptx/ptx.pl - PR ptx: single-line error for invalid -S regexp #14904
- shred/fifo.sh - PR shred: report a FIFO, a directory and a missing file as GNU does #15182
- shred/shred-remove.sh
- wc/wc.pl - PR wc: honor single-byte character locales (fixes the wc test) #16087
- printf/printf.sh, seq/seq-precision.sh: panic on a large
%fprecision - PR uucore: do not panic on a %f precision above the formatter limit #14714 - misc/write-errors.sh (numfmt part):
numfmtpanic on ENOSPC - PR numfmt: diagnose write errors instead of panicking #14715 - shuf/shuf.sh: panic when
getrandomfails,--input-rangewith operands - PR shuf: don't panic when getrandom failed (tests/shuf/shuf.sh) #14744 - cat/cat-distinct-err.sh: distinguish read and write errors - PR cat: distinguish read and write errors #14721
- comm/dash-dash.sh:
comm - -hang - PR comm: avoid deadlock when both inputs use stdin #15249 - csplit/csplit.sh: empty
//pattern - PR csplit: accept an empty regex and report the split in progress on error #14716 - date/date.pl, date/date-tz.sh - PR date: expand GNU-compatible parsing and formatting #15111
- date/date-locale-hour.sh
- dd/nocache.sh: failed cache drop on a pipe - PR dd: ignore a failed cache drop while copying #14748
- dd/nocache_fail.sh
- df/df-output.sh:
-mwith--output- PR df: support -m with --output #14742 - du/block-size.sh: unit suffix with
--block-size/BLOCK_SIZE - du/max-depth.sh: negative
--max-depth- PR du: reject a negative --max-depth like GNU #14709 - fold/fold.pl: ERANGE wording - PR fold: report ERANGE like GNU for out-of-range column counts #14706
- head/quote-headers.sh, tail/quote-headers.sh, tail/pipe-f.sh - PR head, tail: quote file names in the '==> name <==' headers #14710
- ls/color-symlink-target.sh - PR ls: diagnose an unparsable LS_COLORS as an error, not a warning #14708
- ls/ls-time.sh: locale time style
- ls/m-option.sh - PR ls: fix -m line wrapping and quoting #14743
- misc/getopt_vs_usage.sh, misc/usage_vs_refs.sh: now skipped - PR GnuTests: skip getopt_vs_usage.sh, of little value for us #14717
- misc/just-created.sh - PR install: do not overwrite just-created files #14724
- mv/i-3.sh
- ptx/word-regex-loop.sh - PR ptx: skip empty word-regexp matches #14722
- rm/ext3-perf.sh, rm/many-dir-entries-vs-OOM.sh:
Argument list too longset-up error - sort/sort.pl, sort/sort-buffer-size.sh, sort/sort-compress-proc.sh, sort/sort-stale-thread-mem.sh
- split/split-io-err.sh - PR split: avoid opening output for empty input #14973
- stat/stat-fmt.sh, stat/stat-nanoseconds.sh
- stty/* (bad-speed, stty, stty-invalid, stty-pairs, stty-row-col)
- tail/follow-symlink.sh, tail/symlink.sh
- tee/short-write.sh
- test/test.pl:
-l STRING,-o/-aas literals - PR test: make all gnu test pass and fix access issue #14966 - unexpand/unexpand.pl - PR unexpand: match GNU wording for a too-large tab stop #14707
Activity
sylvestre commentedon Sep 19, 2026
Note: this is our top priority, more than code improvements or refactors!
oech3 commentedon Sep 19, 2026
nproc-quota.sh uses
strace, notLD_PRELOAD.If we use different syscalls at some
stracetests, I'll add them to upstream.ChihweiLHBird commentedon Sep 20, 2026
@sylvestre can I work on
dd/nocache.sh,if they are not claimed by others?df/df-output.sh,ptx/ptx.pl, andod/od.ploech3 commentedon Sep 20, 2026
df-output is done at #14742
QUOTING_STYLE#14941anastygnome commentedon Oct 4, 2026
test.pl is done after #14966
anastygnome commentedon Oct 5, 2026
I have a working version of all date tests. I'm reviewing before making a PR ;)
oech3 commentedon Oct 7, 2026
Ignore dd/nocache_fail.sh . I'll fix the test at upstream.
ChihweiLHBird commentedon Oct 18, 2026
For issue
od/od.pl: od quotes bad -j/-N arguments as $'a\t' instead of 'a\t', the PR link returns 404. Is the fix still in progress? If not, can I work on it?sylvestre commentedon Oct 18, 2026
@ChihweiLHBird sure, thanks
anastygnome commentedon Oct 31, 2026
WC is handled by #16087
[-]GNU coreutils 9.12: remaining test failures - Sept 2026[/-][+]GNU coreutils 9.12: remaining test failures - Nov 2026[/+]sylvestre commentedon Nov 15, 2026
sure :)
gonzalemario commentedon Nov 17, 2026
tail/follow-name.shis handled by #16567wc -mreturns character count instead of byte count in C/POSIX locale #9712