[ruby/f22] Workaround issues with TestIO#test_seek.
Vít Ondruch
vondruch at fedoraproject.org
Tue Mar 24 09:28:01 UTC 2015
commit 107d89424570c06fbe8a395e00fe3492ead6141e
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 12f2641..dfb9532 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