From 078ab97d8653a98a63449f11d6e71e508f8bb1eb Mon Sep 17 00:00:00 2001 From: oech3 <79379754+oech3@users.noreply.github.com> Date: Tue, 3 Mar 2026 18:36:18 +0900 Subject: [PATCH] factor, coreutils: backport 2 GNU tests --- util/fetch-gnu.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/util/fetch-gnu.sh b/util/fetch-gnu.sh index afd9ebfa88a..c8cf0a237a6 100755 --- a/util/fetch-gnu.sh +++ b/util/fetch-gnu.sh @@ -4,7 +4,10 @@ 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 = () -# for f in ${backport[@]} -# do curl -L ${repo}/raw/refs/heads/master/tests/$f > tests/$f -# done +backport=( + misc/coreutils.sh + factor/factor.pl +) +for f in "${backport[@]}" + do curl -L ${repo}/raw/refs/heads/master/tests/$f > tests/$f +done