Skip to content

chore(deps): update rust crate uutests to 0.13.0 - #428

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/uutests-0.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/uutests-0.x

Conversation

@renovate

@renovate renovate Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Type Update Change
uutests (source) dev-dependencies minor 0.12.0 → 0.13.0

Release Notes

uutils/coreutils (uutests)

v0.13.0

Compare Source

Rust Coreutils 0.13.0 Release:

We are happy to announce the release of Rust Coreutils 0.13.0 - a release focused on GNU compatibility of options and edge cases, and on safer file handling.
Most of the work went into the details that break scripts: conflicting or ambiguous options in sort, date format flags, dd conversions, ls time styles, tail --follow on symlinks, and what cp, mv, ln and install do when the destination is a symlink or a directory.

Alongside that, several utilities got faster (basenc base58 about 35x, cut +23%, date +22%, join +20%, etc), the WASI port got a lot of integration test coverage, a few more dependencies were dropped in favor of std, and more utilities now handle non-UTF-8 input.

We are now at 684 passing, 23 failing, 0 errors on the GNU test suite.

Counting only the tests that actually run, we are at 684/707 (96.7%).


GNU Test Suite Compatibility:
Result 0.12.0 0.13.0 Change 0.12.0 to 0.13.0 % Total 0.12.0 % Total 0.13.0 % Change 0.12.0 to 0.13.0
Pass 653 684 +31 94.36% 95.26% +0.90%
Skip 18 11 -7 2.60% 1.53% -1.07%
Fail 21 23 +2 3.03% 3.20% +0.17%
Error 0 0 0 0% 0% 0%
Total 692 718 +26 (new tests)

Note: the suite grew by 26 tests (backport of GNU tests), and 2 of them currently fail.


GNU testsuite evolution


Highlights:
  • GNU Compatibility

    • sort rejects conflicting -t, --compress-program and --check modes, validates --parallel like GNU, and rejects --debug together with -c/-C; merge batches and temporary files are handled more carefully
    • date matches the GNU case flags on %c, %p, %P, %r and %Z, keeps leading zeros of %N with a width, and uses the locale date format verbatim
    • dd: conv=ibm, conv=block and conv=unblock behave like GNU, and excl/nofollow are checked before seeking in an output FIFO
    • ls accepts unambiguous --time-style prefixes, applies two-line time formats to old and recent files correctly, and sorts command-line arguments by version properly
    • tail follows a symlink to its target, accepts the obsolete -cf form, and clamps --max-unchanged-stats instead of overflowing
    • printf and seq fix %f padding past 1000 zeros; split accepts a leading + in every number and retries short writes; pr, numfmt, stty, stat and od align more options and messages with GNU
  • Safer File Handling

    • cp no longer writes a recursive copy through a symlinked target, and checks relative symlink destinations against the working directory
    • mv and ln refuse to replace a directory with a symlink (or with --backup, -f, -i in ln)
    • chown/chgrp judge --preserve-root on the stat the traversal is pinned to; chmod -R -L reports dangling symlinks
    • install backs up a dangling symlink destination; install, cp and mknod warn when an explicit security context is ignored
    • rm escapes the operand in the --preserve-root error message
    • uucore: fixed EOVERFLOW in safe traversal
  • Robustness

    • Panics fixed on write failures for verbose output in rmdir, chcon, cp and tail, and in printf/seq on zero
    • Non-UTF-8 input is now preserved in date (format strings and --reference), stat error messages and shred diagnostics
    • uucore parses a NaN payload such as nan(1) and quotes a lone brace in the shell quoting styles; c-maybe quoting is supported
  • Performance

    • tr deletes bytes faster, basenc encodes and decodes base58 faster, and od streams its output line by line instead of buffering it
  • Dependency Diet

    • chroot, sync and the permission helpers use std instead of rustix; sort uses rlimit instead of rustix::process; cp and dd use set_len instead of ftruncate; uucore no longer needs unsafe for gettid
  • Cross-platform Reach

    • WASI: integration tests enabled for seq, mv, fmt, readlink, dircolors, cksum, realpath, nproc, shred and join, a macro to document why a test is ignored, date clock support, and nice is no longer part of the default WASI build
    • Windows: ln converts / to \ in symlink targets, and cp handles a recursive copy of a root such as W:/
    • uucore detects ASIMD on big-endian aarch64 and builds stty on little-endian ppc64
  • Upstream: while chasing compatibility we found behavior GNU's own suite did not cover, and contributed 82 commits to GNU coreutils during this cycle, almost all of them new tests for edge cases both implementations share, plus two small fixes (tail, fmt)

  • Contributions: This release landed 931 pull requests from 92 new contributors


Call to Action:

Try it in your browser - Online Playground powered by WebAssembly
Help us translate - Contribute to Rust Coreutils on Weblate
Sponsor us on GitHub to accelerate development: github.com/sponsors/uutils

What's Changed

b2sum

base32

base64

basename

basenc

cat

chcon

chgrp

chmod

chown

chroot

cksum

comm

cp

csplit

cut

date

dd

df

dircolors

dirname

du

env

expand

expr

factor

fmt

fold

groups

head

hostname

id

install

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

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.

0 participants