diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-09-10 08:59:31 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-09-10 09:00:20 +0200 |
commit | 6cda8e004e674b3aa44ba446b368e36ef04fcdb7 (patch) | |
tree | 63f3ec9d2e098e8263ea565de0afefe52be3e46a /dev-ruby/sys-filesystem | |
parent | app-crypt/xca: Stabilize 2.4.0_p20230526-r1 amd64, #913914 (diff) | |
download | gentoo-6cda8e004e674b3aa44ba446b368e36ef04fcdb7.tar.gz gentoo-6cda8e004e674b3aa44ba446b368e36ef04fcdb7.tar.bz2 gentoo-6cda8e004e674b3aa44ba446b368e36ef04fcdb7.zip |
dev-ruby/sys-filesystem: fix tests
Add mising test dependency and avoid test that fails on large file
systems.
Closes: https://bugs.gentoo.org/913915
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/sys-filesystem')
-rw-r--r-- | dev-ruby/sys-filesystem/sys-filesystem-1.4.3.ebuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/dev-ruby/sys-filesystem/sys-filesystem-1.4.3.ebuild b/dev-ruby/sys-filesystem/sys-filesystem-1.4.3.ebuild index ba0b8f230bc1..47e9e9296164 100644 --- a/dev-ruby/sys-filesystem/sys-filesystem-1.4.3.ebuild +++ b/dev-ruby/sys-filesystem/sys-filesystem-1.4.3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31 ruby32" +USE_RUBY="ruby30 ruby31 ruby32" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" @@ -22,11 +22,9 @@ IUSE="" ruby_add_rdepend ">=dev-ruby/ffi-1.15.0" -#ruby_add_bdepend "test? ( dev-ruby/mkmf-lite )" +ruby_add_bdepend "test? ( dev-ruby/mkmf-lite )" all_ruby_prepare() { - : - #sed -e 's/__dir__/"."/' \ - # -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \ - # -i "${RUBY_FAKEGEM_GEMSPEC}" || die + sed -e '/stat fragment_size is a plausible value/askip "Fails with e.g. ZFS"' \ + -i spec/sys_filesystem_unix_spec.rb || die } |