[ruby] Workaround issues with TestIO#test_seek.
Vít Ondruch
vondruch at fedoraproject.org
Tue Mar 24 07:42:41 UTC 2015
commit a0a4c7571b944e7f0277eefdd0cc9c48e0a92c6b
Author: Vít Ondruch <vondruch at redhat.com>
Date: Tue Mar 24 08:42:35 2015 +0100
Workaround issues with TestIO#test_seek.
ruby.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/ruby.spec b/ruby.spec
index 15ccae3..d2765d9 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -599,6 +599,10 @@ touch abrt.rb
sed -i '/def test_ctx_client_session_cb$/,/^ end$/ s/^/#/' test/openssl/test_ssl_session.rb
sed -i '/def test_ctx_server_session_cb$/,/^ end$/ s/^/#/' test/openssl/test_ssl_session.rb
+# can_seek_data does not work correctly in chroot for Kernel 3.19+.
+# https://bugs.ruby-lang.org/issues/10998
+sed -i '/break unless can_seek_data(f)/ s/^/#/' test/ruby/test_io.rb
+
make check TESTS="-v $DISABLE_TESTS"
%post libs -p /sbin/ldconfig
More information about the scm-commits
mailing list