ref: refs/heads/master
commit 952f63f30cac8ec10b9aa844f11e5fc5c0fe751c
Author: Klaus Kämpf
Date: Tue Jun 23 15:05:24 2009 +0200
Find malicious job in solver request
---
bindings/ruby/tests/solutions.rb | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/bindings/ruby/tests/solutions.rb b/bindings/ruby/tests/solutions.rb
index 0dbead3..22d5fb7 100644
--- a/bindings/ruby/tests/solutions.rb
+++ b/bindings/ruby/tests/solutions.rb
@@ -63,7 +63,11 @@ class SolutionTest < Test::Unit::TestCase
when Satsolver::SOLUTION_SOLVABLE
puts " Solvable : #{element.job}"
when Satsolver::SOLUTION_JOB
- puts " Bad job : #{element.job}"
+ bad = element.job
+ puts " Bad job : #{bad}"
+ request.each do |job|
+ puts "\tculprit found" if job == bad
+ end
when Satsolver::SOLUTION_DISTUPGRADE
puts " Upgrade : #{element.job}"
when Satsolver::SOLUTION_INFARCH
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org