[rubygem-dalli] Fix the test the right way

Josef Stribny jstribny at fedoraproject.org
Mon Jul 7 14:56:24 UTC 2014


commit 5ce23700e7217e6bb3b94e61bfeaa3c9a363d42a
Author: Josef Stribny <jstribny at redhat.com>
Date:   Mon Jul 7 16:56:33 2014 +0200

    Fix the test the right way

 rubygem-dalli.spec |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/rubygem-dalli.spec b/rubygem-dalli.spec
index 73e17f8..3ba2f41 100644
--- a/rubygem-dalli.spec
+++ b/rubygem-dalli.spec
@@ -5,7 +5,7 @@
 
 Name: rubygem-%{gem_name}
 Version: 2.7.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: High performance memcached client for Ruby
 Group: Development/Languages
 License: MIT
@@ -59,10 +59,8 @@ pushd .%{gem_instdir}
 sed -i -e '3d' test/test_active_support.rb
 # There are 2 failures and 1 error regarding SALS
 #   https://github.com/mperham/dalli/issues/439
-# Most of the times the grep does not work because of the
-#   `This server is not built with SASL support.` error.
 ruby -Ilib:test -e "Dir.glob('./test/test_*.rb').sort.each{ |x| require x }" \
-  | grep '121 runs, 15461 assertions, 2 failures, 1 errors, 0 skips' || exit 0
+  | grep '.*121 runs, 15461 assertions, 2 failures, 1 errors, 0 skips.*'
 popd
 %endif
 
@@ -85,6 +83,9 @@ popd
 
 
 %changelog
+* Mon Jun 16 2014 Josef Stribny <jstribny at redhat.com> - 2.7.2-2
+- Fix the test the right way
+
 * Mon Jun 16 2014 Josef Stribny <jstribny at redhat.com> - 2.7.2-1
 - Update to dalli 2.7.2
 


More information about the scm-commits mailing list