Skip to content

Commit 41fcb8b

Browse files
oech3sylvestre
authored andcommitted
GnuTests: bump GNU version to 9.11
1 parent 98f6b01 commit 41fcb8b

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

util/fetch-gnu.sh

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
#!/bin/bash -e
2-
ver="9.10"
2+
ver="9.11"
33
repo=https://github.com/coreutils/coreutils
44
curl -L "${repo}/releases/download/v${ver}/coreutils-${ver}.tar.xz" | tar --strip-components=1 -xJf -
55

66
# TODO stop backporting tests from master at GNU coreutils > $ver
7-
backport=(
8-
misc/coreutils.sh # enable test
9-
tee/tee.sh # input containing sleep
10-
misc/yes.sh # zero-copy
7+
exit 0
8+
backport=(
119
)
1210
for f in "${backport[@]}"
1311
do curl -L ${repo}/raw/refs/heads/master/tests/$f > tests/$f
1412
done
15-
# adjust for getlimits > $ver
16-
sed -i.b "s/\$ENOSPC/No space left on device/" tests/misc/yes.sh

util/gnu-patches/series

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
tests_factor_factor.pl.patch
22
tests_cksum_base64.patch
33
tests_comm.pl.patch
4-
tests_cut_error_msg.patch
54
tests_dup_source.patch
65
tests_env_env-S.pl.patch
76
tests_invalid_opt.patch

util/gnu-patches/tests_cut_error_msg.patch

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Index: gnu/tests/cut/cut.pl
1111
-my $inval_fld = "$prog: invalid field range\n$try";
1212
-my $inval_pos = "$prog: invalid byte or character range\n$try";
1313
-my $no_endpoint = "$prog: invalid range with no endpoint: -\n$try";
14+
-my $one_list = "$prog: only one list may be specified\n$try";
1415
-my $nofield = "$prog: an input delimiter may be specified only when " .
1516
- "operating on fields\n$try";
1617
+my $from_field1 = "$prog: range '' was invalid: failed to parse range\n";
@@ -21,6 +22,7 @@ Index: gnu/tests/cut/cut.pl
2122
+my $inval_fld = "$prog: range '--' was invalid: failed to parse range\n";
2223
+my $inval_pos = "$prog: range '--' was invalid: failed to parse range\n";
2324
+my $no_endpoint = "$prog: range '-' was invalid: invalid range with no endpoint\n";
25+
+my $one_list = "$prog: only one list may be specified\n$try";
2426
+my $nofield = "$prog: invalid input: The '--delimiter' ('-d') option can only be used when printing a sequence of fields\n";
2527

2628
my @Tests =

0 commit comments

Comments
 (0)