GnuTests: bump GNU version to 9.11 (#11922)

This commit is contained in:
oech3
2026-04-23 15:38:58 +09:00
committed by GitHub
parent f7b9e24df5
commit dad3249a58
3 changed files with 6 additions and 8 deletions
+3 -7
View File
@@ -1,16 +1,12 @@
#!/bin/bash -e
ver="9.10"
ver="9.11"
repo=https://github.com/coreutils/coreutils
curl -L "${repo}/releases/download/v${ver}/coreutils-${ver}.tar.xz" | tar --strip-components=1 -xJf -
# TODO stop backporting tests from master at GNU coreutils > $ver
backport=(
misc/coreutils.sh # enable test
tee/tee.sh # input containing sleep
misc/yes.sh # zero-copy
exit 0
backport=(
)
for f in "${backport[@]}"
do curl -L ${repo}/raw/refs/heads/master/tests/$f > tests/$f
done
# adjust for getlimits > $ver
sed -i.b "s/\$ENOSPC/No space left on device/" tests/misc/yes.sh
+1 -1
View File
@@ -1,7 +1,7 @@
tests_factor_factor.pl.patch
tests_cksum_base64.patch
tests_comm.pl.patch
tests_cut_error_msg.patch
# FIXME: tests_cut_error_msg.patch
tests_dup_source.patch
tests_env_env-S.pl.patch
tests_invalid_opt.patch
@@ -11,6 +11,7 @@ Index: gnu/tests/cut/cut.pl
-my $inval_fld = "$prog: invalid field range\n$try";
-my $inval_pos = "$prog: invalid byte or character range\n$try";
-my $no_endpoint = "$prog: invalid range with no endpoint: -\n$try";
-my $one_list = "$prog: only one list may be specified\n$try";
-my $nofield = "$prog: an input delimiter may be specified only when " .
- "operating on fields\n$try";
+my $from_field1 = "$prog: range '' was invalid: failed to parse range\n";
@@ -21,6 +22,7 @@ Index: gnu/tests/cut/cut.pl
+my $inval_fld = "$prog: range '--' was invalid: failed to parse range\n";
+my $inval_pos = "$prog: range '--' was invalid: failed to parse range\n";
+my $no_endpoint = "$prog: range '-' was invalid: invalid range with no endpoint\n";
+my $one_list = "$prog: only one list may be specified\n$try";
+my $nofield = "$prog: invalid input: The '--delimiter' ('-d') option can only be used when printing a sequence of fields\n";
my @Tests =