Skip to content

Commit a8ee5cb

Browse files
authored
Merge branch 'main' into bsd-bootstrap
2 parents cda918b + 6dfd557 commit a8ee5cb

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

src/uucore/src/lib/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ pub fn get_canonical_util_name(util_name: &str) -> &str {
170170
"[" => "test",
171171

172172
// hashsum aliases - all these hash commands are aliases for hashsum
173-
"md5sum" | "sha1sum" | "sha224sum" | "sha256sum" | "sha384sum" | "sha512sum"
174-
| "sha3sum" | "sha3-224sum" | "sha3-256sum" | "sha3-384sum" | "sha3-512sum"
175-
| "shake128sum" | "shake256sum" | "b2sum" | "b3sum" => "hashsum",
173+
"md5sum" | "sha1sum" | "sha224sum" | "sha256sum" | "sha384sum" | "sha512sum" | "b2sum" => {
174+
"hashsum"
175+
}
176176

177177
"dir" => "ls", // dir is an alias for ls
178178

tests/uutests/src/lib/util.rs

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2923,15 +2923,8 @@ pub fn host_name_for(util_name: &str) -> Cow<'_, str> {
29232923
util_name.into()
29242924
}
29252925

2926-
// GNU coreutils version 8.32 is the reference version since it is the latest version and the
2927-
// GNU test suite in "coreutils/.github/workflows/GnuTests.yml" runs against it.
2928-
// However, here 8.30 was chosen because right now there's no ubuntu image for the github actions
2929-
// CICD available with a higher version than 8.30.
2930-
// GNU coreutils versions from the CICD images for comparison:
2931-
// ubuntu-2004: 8.30 (latest)
2932-
// ubuntu-1804: 8.28
2933-
// macos-latest: 8.32
2934-
const VERSION_MIN: &str = "8.30"; // minimum Version for the reference `coreutil` in `$PATH`
2926+
// Choose same coreutils version with ubuntu-latest runner: https://github.com/actions/runner-images/tree/main/images/ubuntu
2927+
const VERSION_MIN: &str = "9.4"; // minimum Version for the reference `coreutil` in `$PATH`
29352928

29362929
const UUTILS_WARNING: &str = "uutils-tests-warning";
29372930
const UUTILS_INFO: &str = "uutils-tests-info";

0 commit comments

Comments
 (0)