diff --git a/ruby.spec b/ruby.spec index 1563b65..afd468f 100644 --- a/ruby.spec +++ b/ruby.spec @@ -631,7 +631,7 @@ sed -i 's/^/%lang(ja) /' .ruby-doc.ja %{?scl:scl enable %scl - << \EOF mkdir -p ./lib/rubygems/defaults cp %{SOURCE1} ./lib/rubygems/defaults -make test-all TESTS="%{SOURCE14}" || exit 1 +make test-all TESTS="%{SOURCE14}" | grep ", 1 failures, 0 errors, " || exit 1 rm -rf ./lib/rubygems/defaults EOF}