mirror of
https://github.com/uutils/coreutils.git
synced 2026-05-06 07:26:38 -04:00
yes, coreutils: backport(enable) 2 GnuTests (#11480)
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
# `build-gnu.bash` ~ builds GNU coreutils (from supplied sources)
|
||||
#
|
||||
|
||||
# spell-checker:ignore (paths) abmon deref discrim eacces getlimits getopt ginstall inacc infloop inotify reflink ; (misc) INT_OFLOW OFLOW
|
||||
# spell-checker:ignore (paths) abmon deref discrim eacces getopt ginstall inacc infloop inotify reflink ; (misc) INT_OFLOW OFLOW
|
||||
# spell-checker:ignore baddecode submodules xstrtol distros ; (vars/env) SRCDIR vdir rcexp xpart dired OSTYPE ; (utils) greadlink gsed multihardlink texinfo CARGOFLAGS
|
||||
# spell-checker:ignore openat TOCTOU CFLAGS tmpfs gnproc
|
||||
|
||||
|
||||
+9
-4
@@ -4,7 +4,12 @@ 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 # enable test
|
||||
misc/yes.sh # zero-copy
|
||||
)
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user