diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-24 01:01:06 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-24 01:01:06 +0000 |
commit | f52562a45d967e193210737b55de5f0ff9018b76 (patch) | |
tree | 909caa133f3a538fde8ed9dfd9efa42a2c7a0507 /sys-apps/coreutils/coreutils-9999.ebuild | |
parent | 36fc50e36ed1a4686bb7202aeaff3170b2206124 (diff) |
gentoo auto-resync : 24:03:2024 - 01:01:06
Diffstat (limited to 'sys-apps/coreutils/coreutils-9999.ebuild')
-rw-r--r-- | sys-apps/coreutils/coreutils-9999.ebuild | 63 |
1 files changed, 47 insertions, 16 deletions
diff --git a/sys-apps/coreutils/coreutils-9999.ebuild b/sys-apps/coreutils/coreutils-9999.ebuild index 14e289049915..95bb5424c9b2 100644 --- a/sys-apps/coreutils/coreutils-9999.ebuild +++ b/sys-apps/coreutils/coreutils-9999.ebuild @@ -13,7 +13,7 @@ PYTHON_COMPAT=( python3_{10..11} ) VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/coreutils.asc inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig -MY_PATCH="${PN}-9.4-patches" +MY_PATCH="${PN}-9.5-patches" DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, who,...)" HOMEPAGE="https://www.gnu.org/software/coreutils/" @@ -23,7 +23,7 @@ if [[ ${PV} == 9999 ]] ; then elif [[ ${PV} == *_p* ]] ; then # Note: could put this in devspace, but if it's gone, we don't want # it in tree anyway. It's just for testing. - MY_SNAPSHOT="$(ver_cut 1-2).156-b3afb" + MY_SNAPSHOT="$(ver_cut 1-2).170-7b206" SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz -> ${P}.tar.xz" SRC_URI+=" verify-sig? ( https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> ${P}.tar.xz.sig )" S="${WORKDIR}"/${PN}-${MY_SNAPSHOT} @@ -82,7 +82,13 @@ RDEPEND+=" !net-mail/base64 !sys-apps/mktemp !<app-forensics/tct-1.18-r1 - !<net-fs/netatalk-2.0.3-r4" + !<net-fs/netatalk-2.0.3-r4 +" + +QA_CONFIG_IMPL_DECL_SKIP=( + # gnulib FPs (bug #898370) + unreachable MIN alignof static_assert +) pkg_setup() { if use test ; then @@ -185,15 +191,6 @@ src_configure() { } src_test() { - # Known to fail with FEATURES=usersandbox (bug #439574): - # - tests/du/long-from-unreadable.sh} (bug #413621) - # - tests/rm/deep-2.sh (bug #413621) - # - tests/dd/no-allocate.sh (bug #629660) - if has usersandbox ${FEATURES} ; then - ewarn "You are emerging ${P} with 'usersandbox' enabled." \ - "Expect some test failures or emerge with 'FEATURES=-usersandbox'!" - fi - # Non-root tests will fail if the full path isn't # accessible to non-root users chmod -R go-w "${WORKDIR}" || die @@ -218,10 +215,44 @@ src_test() { mkwrap mount umount addwrite /dev/full - #export RUN_EXPENSIVE_TESTS="yes" - #export COREUTILS_GROUPS="portage wheel" - env PATH="${T}/mount-wrappers:${PATH}" gl_public_submodule_commit= \ - emake -k check VERBOSE=yes + + #local -x RUN_EXPENSIVE_TESTS="yes" + #local -x COREUTILS_GROUPS="portage wheel" + local -x PATH="${T}/mount-wrappers:${PATH}" + local -x gl_public_submodule_commit= + + local xfail_tests=( + # bug #629660 + #tests/dd/no-allocate.sh + + # bug #675802 + tests/env/env-S + tests/env/env-S.pl + + # bug #413621 and bug #548250 + tests/du/long-from-unreadable.sh + tests/ls/removed-directory + tests/ls/removed-directory.sh + tests/ls/stat-free-symlinks + tests/ls/stat-free-symlinks.sh + tests/rm/deep-2 + tests/rm/deep-2.sh + + # We have a patch which fixes this (bug #259876) + #tests/touch/not-owner + #tests/touch/not-owner.sh + + # bug #910640 + tests/tty/tty-eof.pl + ) + + # We set DISABLE_HARD_ERRORS because some of the tests hard error-out + # because of sandbox. They're skipped above but DISABLE_HARD_ERRORS is needed + # to downgrade them to FAIL. + emake -k check \ + VERBOSE=yes \ + DISABLE_HARD_ERRORS=yes \ + XFAIL_TESTS="${xfail_tests[*]}" } src_install() { |