Debian Codegraph @

util/gnu-unfixable-tests.txt

raw
1 # GNU test-suite entries left out of the uutils pass/fail percentages.
2 #
3 # They do not check observable behavior, they check that the binary is built
4 # like GNU's: they place gdb breakpoints in GNU's own C sources, or interpose a
5 # specific libc entry point with LD_PRELOAD and give up when it is not called.
6 # Passing them would mean reshaping our internals to match GNU's rather than
7 # fixing anything a user can see.
8 #
9 # The list is consumed by the tracking repo
10 # (https://github.com/uutils/coreutils-tracking) so the numbers describe the
11 # tests we can actually influence. Tests that are merely hard, unimplemented or
12 # intermittent do NOT belong here - they stay counted on purpose. See
13 # https://github.com/uutils/coreutils/issues/13841
14 #
15 # Format: one "<util>/<test>.log" entry per line, '#' starts a comment. That is
16 # the log name the results are keyed by; the source in the GNU tree is the same
17 # path with a .sh (or .pl) extension.
18
19
20 # --- Structurally impossible ---------------------------------------------
21 # Nothing we can write in Rust makes these run.
22
23 # Both grep a line number out of GNU's C source ("^excise" in src/remove.c,
24 # "^tail_forever_inotify" in src/tail.c) and break there, so the breakpoint can
25 # only resolve for a binary compiled from those files.
26 rm/r-root.log
27 tail/inotify-race.log
28 tail/inotify-race2.log
29
30 # require_gnu_ is "test $(uname) = GNU"; skipped on Linux for GNU coreutils too.
31 id/gnu-zero-uids.log
32
33
34 # --- Require matching GNU's libc entry points ----------------------------
35 # LD_PRELOAD does fire for Rust binaries, but each of these overrides the one
36 # symbol GNU happens to call and self-skips otherwise. We would have to route
37 # through that same symbol - in df's case dropping /proc/self/mountinfo for
38 # getmntent/mtab - purely so the interception lands.
39
40 # overrides __xstat/stat; std uses statx
41 cp/nfs-removal-race.log
42 # needs HAVE_GETMNTENT, overrides fopen on the mtab
43 df/skip-duplicates.log
44 # parses the C code to look for getopt usage
45 misc/getopt_vs_usage.sh
46 # overrides readdir; std uses readdir64
47 rm/rm-readdir-fail.log