641 Commits
Author SHA1 Message Date
Devel b136ecacfc cspell: fix a few typos and add a few terms 2026-10-15 21:00:12 +02:00
a7604 1520f3aa64 tests/rm: add test for --no-preserve-root on / 2026-10-14 11:35:35 +02:00
Eduardo RodriguesandClaude Sonnet 5 1f1095bf4b ci: lint uucore own tests on windows not just via dependents
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-13 20:41:21 +02:00
oech3 3c22cdfb0e GnuTests: patch tee/short-write.sh to fire read/write code path 2026-10-08 08:24:12 +02:00
xtqqczze 2f0bd06e56 refactor: use gh api --jq instead of jq 2026-09-29 16:43:35 -04:00
xtqqczze 7498d7cfea Revert "GHA-delete-GNU-workflow-logs.sh: Support custom jq command and support jaq for the case it is not installed as jq (#9581)"
This reverts commit 3528d106e4.
2026-09-29 16:43:35 -04:00
Smicry d4f90684cc show-utils.sh: build the fallback list with cargo tree
Reading the feature list out of Cargo.toml needed tr, which Gentoo's portage
had to account for. cargo is already required to build the project, so this
drops an external tool without adding a dependency. Output is unchanged:
the same 78 utilities, verified against the previous implementation on cargo
1.88, 1.93 and 1.95.
2026-09-29 05:53:11 -04:00
Smicry 91877bb034 show-utils.sh: restore the cargo id comment
The regex selecting the coreutils package id matches the space, pipe, at and
hash separators that cargo has used across versions; without the comment the
pattern is not obvious.
2026-09-29 05:53:11 -04:00
Smicry d0f1a7a63e show-utils.sh: drop the indirection around the cd
ME_parent_dir_abs and project_main_dir existed only to be passed to cd, so
five steps computed a directory the script immediately changed into.
2026-09-29 05:53:11 -04:00
Smicry 674986a7c4 show-utils.sh: fail fast instead of swallowing pipeline errors
`set -e` alone is a no-op here: the two commands that can fail both sit in
pipelines whose rightmost stage succeeds, so the pipeline status is 0 even
when `sed` or `cargo` failed. `set -eo pipefail` propagates that.

Computing `default_utils` moves into the branch that uses it. It read
`Cargo.toml` relative to the caller's directory and ran before the `cd`, so
from outside the repository it produced an empty list, and under `pipefail`
it would abort a run that otherwise succeeds.
2026-09-29 05:53:11 -04:00
Smicry d413e0dc59 show-utils.sh: drop redundant cspell ignore lines
The utility names are all in `.vscode/cspell.dictionaries/workspace.wordlist.txt`,
so the per-file list is redundant. The `OSTYPE` line has been dead since the
`$OSTYPE` check was replaced with a `command -v grealpath` lookup.
2026-09-29 05:53:11 -04:00
Smicry e9fe1ac29f show-utils.sh: stop probing realpath with GNU-only options
The Code Coverage job on macOS logged "realpath: illegal option -- m" on every
run: the script probed with GNU-only flags, then recovered via `||`. The repo
root always exists, so `cd` and `pwd -P` give the same physical path with no
dependency on GNU coreutils.
2026-09-29 05:53:11 -04:00
oech3 2fd0af2115 remove unused show-utils.BAT 2026-09-28 21:15:36 -04:00
sap1110 e27665f96b cspell: add missing words and fix two typos
Running cspell over the whole tree reported 144 unknown words, so the
pre-commit hook failed on any file touching them. Add the words to the
per-file spell-checker:ignore lists (and alnum/reimplementation to the
jargon wordlist), and fix the gerandom and Normalise typos.

Closes #14895
2026-09-28 10:11:55 +02:00
oech3 e162908bcf freebsd.yml, GnuTests.yml: Use ubuntu-latest as VM's glibc is used 2026-09-21 14:43:04 +02:00
Sylvestre Ledru ddea49f023 GnuTests: skip getopt_vs_usage.sh and usage_vs_refs.patch, of little value for us 2026-09-21 09:43:34 +02:00
oech3 87a88fa7c4 build-gnu.sh: sed tests/sort/sort.pl to keep clap provided message 2026-09-21 09:34:37 +02:00
pre-commit-ci[bot] 2232628244 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2026-09-19 09:40:55 +02:00
Sylvestre Ledru 0adc2e5cd7 GnuTests: keep the quilt patches enabled with 9.12
The patches encode the uutils-vs-GNU diagnostic differences, so disabling
them makes the suite fail (e.g. tests/mkdir/restorecon.sh in the SELinux
job).  Nine of the fourteen apply to 9.12 unchanged; refresh the five that
do not:

- tests_comm.pl.patch: comm.pl moved from tests/misc/ to tests/comm/
- tests_ls_no_cap.patch / tests_pwd-long.patch: strace switched from
  '-e SYSCALL' to '-e trace=SYSCALL'
- tests_env_env-S.pl.patch: env-S.pl now escapes the tab in the expected
  'invalid option' diagnostic
- error_msg_uniq.diff: uniq.pl gained test 146 after the patched hunk

Also make the nproc lookup in run-gnu-test.sh survive a missing/failing
nproc, which would otherwise abort the script under 'set -e'.
2026-09-19 09:40:55 +02:00
oech3 893fcf7620 GnuTests: bump GNU to 9.12 2026-09-19 09:40:55 +02:00
Sylvestre Ledru 6c5d0eaeb5 prepare 0.13.0 2026-09-18 09:57:10 +02:00
Sylvestre Ledru 556a7237a3 adjust update version script to only update uutils code 2026-09-16 13:00:28 +02:00
Sylvestre Ledru e422d4b492 Update the version to 0.12.0 2026-09-16 13:00:28 +02:00
oech3 4f11d2b173 GnuTests: autoreconf for portability 2026-09-15 21:34:13 +02:00
oech3 e1b1247915 fetch-gnu.sh: fix hardcoded pathes to GNU test binary 2026-08-31 19:03:28 +02:00