Author: kkaempf Date: Fri Jan 18 17:28:36 2008 New Revision: 8327 URL: http://svn.opensuse.org/viewcvs/zypp?rev=8327&view=rev Log: ensure local path is first in load order Modified: trunk/sat-solver/bindings/ruby/tests/covenants.rb trunk/sat-solver/bindings/ruby/tests/decisions.rb trunk/sat-solver/bindings/ruby/tests/loading.rb trunk/sat-solver/bindings/ruby/tests/pool.rb trunk/sat-solver/bindings/ruby/tests/problems.rb trunk/sat-solver/bindings/ruby/tests/relation.rb trunk/sat-solver/bindings/ruby/tests/repo.rb trunk/sat-solver/bindings/ruby/tests/rpmdb.rb trunk/sat-solver/bindings/ruby/tests/solutions.rb trunk/sat-solver/bindings/ruby/tests/solvable.rb trunk/sat-solver/bindings/ruby/tests/solver.rb trunk/sat-solver/bindings/ruby/tests/system.rb trunk/sat-solver/bindings/ruby/tests/transaction.rb Modified: trunk/sat-solver/bindings/ruby/tests/covenants.rb URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/ruby/tests/covenants.rb?rev=8327&r1=8326&r2=8327&view=diff ============================================================================== --- trunk/sat-solver/bindings/ruby/tests/covenants.rb (original) +++ trunk/sat-solver/bindings/ruby/tests/covenants.rb Fri Jan 18 17:28:36 2008 @@ -1,5 +1,7 @@ $:.unshift "../../../build/bindings/ruby" + # test Covenants + require 'test/unit' require 'satsolver' Modified: trunk/sat-solver/bindings/ruby/tests/decisions.rb URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/ruby/tests/decisions.rb?rev=8327&r1=8326&r2=8327&view=diff ============================================================================== --- trunk/sat-solver/bindings/ruby/tests/decisions.rb (original) +++ trunk/sat-solver/bindings/ruby/tests/decisions.rb Fri Jan 18 17:28:36 2008 @@ -19,7 +19,8 @@ # The number of decision steps is available through Solver.decision_count # -$: << "../../../build/bindings/ruby" +$:.unshift "../../../build/bindings/ruby" + # test Decisions require 'test/unit' require 'satsolver' Modified: trunk/sat-solver/bindings/ruby/tests/loading.rb URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/ruby/tests/loading.rb?rev=8327&r1=8326&r2=8327&view=diff ============================================================================== --- trunk/sat-solver/bindings/ruby/tests/loading.rb (original) +++ trunk/sat-solver/bindings/ruby/tests/loading.rb Fri Jan 18 17:28:36 2008 @@ -2,7 +2,8 @@ # Test loading of the bindings # -$: << "../../../build/bindings/ruby" +$:.unshift "../../../build/bindings/ruby" + # test loading of extension require 'test/unit' Modified: trunk/sat-solver/bindings/ruby/tests/pool.rb URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/ruby/tests/pool.rb?rev=8327&r1=8326&r2=8327&view=diff ============================================================================== --- trunk/sat-solver/bindings/ruby/tests/pool.rb (original) +++ trunk/sat-solver/bindings/ruby/tests/pool.rb Fri Jan 18 17:28:36 2008 @@ -14,7 +14,9 @@ # # For Repos there is each_repo, count_repos, get_repo and find_repo. # -$: << "../../../build/bindings/ruby" + +$:.unshift "../../../build/bindings/ruby" + # test Pool require 'test/unit' require 'satsolver' Modified: trunk/sat-solver/bindings/ruby/tests/problems.rb URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/ruby/tests/problems.rb?rev=8327&r1=8326&r2=8327&view=diff ============================================================================== --- trunk/sat-solver/bindings/ruby/tests/problems.rb (original) +++ trunk/sat-solver/bindings/ruby/tests/problems.rb Fri Jan 18 17:28:36 2008 @@ -39,7 +39,9 @@ # SOLVER_PROBLEM_DEP_PROVIDERS_NOT_INSTALLABLE # source requires relation but no providers are installable # -$: << "../../../build/bindings/ruby" + +$:.unshift "../../../build/bindings/ruby" + # test Problems require 'test/unit' require 'satsolver' Modified: trunk/sat-solver/bindings/ruby/tests/relation.rb URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/ruby/tests/relation.rb?rev=8327&r1=8326&r2=8327&view=diff ============================================================================== --- trunk/sat-solver/bindings/ruby/tests/relation.rb (original) +++ trunk/sat-solver/bindings/ruby/tests/relation.rb Fri Jan 18 17:28:36 2008 @@ -17,7 +17,9 @@ # REL_NAMESPACE: namespace # # -$: << "../../../build/bindings/ruby" + +$:.unshift "../../../build/bindings/ruby" + # test Relation require 'test/unit' require 'satsolver' Modified: trunk/sat-solver/bindings/ruby/tests/repo.rb URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/ruby/tests/repo.rb?rev=8327&r1=8326&r2=8327&view=diff ============================================================================== --- trunk/sat-solver/bindings/ruby/tests/repo.rb (original) +++ trunk/sat-solver/bindings/ruby/tests/repo.rb Fri Jan 18 17:28:36 2008 @@ -25,7 +25,9 @@ # repo.find( "A" ) # this will return the 'best' solvable named 'A' or nil if no such solvable exists. # -$: << "../../../build/bindings/ruby" + +$:.unshift "../../../build/bindings/ruby" + # test Repo require 'test/unit' require 'satsolver' Modified: trunk/sat-solver/bindings/ruby/tests/rpmdb.rb URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/ruby/tests/rpmdb.rb?rev=8327&r1=8326&r2=8327&view=diff ============================================================================== --- trunk/sat-solver/bindings/ruby/tests/rpmdb.rb (original) +++ trunk/sat-solver/bindings/ruby/tests/rpmdb.rb Fri Jan 18 17:28:36 2008 @@ -9,7 +9,9 @@ # to name the repository # # -$: << "../../../build/bindings/ruby" + +$:.unshift "../../../build/bindings/ruby" + # test adding rpmdb require 'test/unit' require 'satsolver' Modified: trunk/sat-solver/bindings/ruby/tests/solutions.rb URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/ruby/tests/solutions.rb?rev=8327&r1=8326&r2=8327&view=diff ============================================================================== --- trunk/sat-solver/bindings/ruby/tests/solutions.rb (original) +++ trunk/sat-solver/bindings/ruby/tests/solutions.rb Fri Jan 18 17:28:36 2008 @@ -4,7 +4,9 @@ # Solutions are enumeratable through Problem.each_solution # # -$: << "../../../build/bindings/ruby" + +$:.unshift "../../../build/bindings/ruby" + # test Solutions require 'test/unit' require 'satsolver' Modified: trunk/sat-solver/bindings/ruby/tests/solvable.rb URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/ruby/tests/solvable.rb?rev=8327&r1=8326&r2=8327&view=diff ============================================================================== --- trunk/sat-solver/bindings/ruby/tests/solvable.rb (original) +++ trunk/sat-solver/bindings/ruby/tests/solvable.rb Fri Jan 18 17:28:36 2008 @@ -1,5 +1,7 @@ -$: << "../../../build/bindings/ruby" +$:.unshift "../../../build/bindings/ruby" + # test Solvable + require 'test/unit' require 'satsolver' Modified: trunk/sat-solver/bindings/ruby/tests/solver.rb URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/ruby/tests/solver.rb?rev=8327&r1=8326&r2=8327&view=diff ============================================================================== --- trunk/sat-solver/bindings/ruby/tests/solver.rb (original) +++ trunk/sat-solver/bindings/ruby/tests/solver.rb Fri Jan 18 17:28:36 2008 @@ -1,5 +1,7 @@ -$: << "../../../build/bindings/ruby" +$:.unshift "../../../build/bindings/ruby" + # test Solver + require 'test/unit' require 'satsolver' Modified: trunk/sat-solver/bindings/ruby/tests/system.rb URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/ruby/tests/system.rb?rev=8327&r1=8326&r2=8327&view=diff ============================================================================== --- trunk/sat-solver/bindings/ruby/tests/system.rb (original) +++ trunk/sat-solver/bindings/ruby/tests/system.rb Fri Jan 18 17:28:36 2008 @@ -5,8 +5,11 @@ # Its used to represent dependencies of the system, like # looks or hardware (modalias). # -$: << "../../../build/bindings/ruby" + +$:.unshift "../../../build/bindings/ruby" + # test Pool:system + require 'test/unit' require 'satsolver' Modified: trunk/sat-solver/bindings/ruby/tests/transaction.rb URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/ruby/tests/transaction.rb?rev=8327&r1=8326&r2=8327&view=diff ============================================================================== --- trunk/sat-solver/bindings/ruby/tests/transaction.rb (original) +++ trunk/sat-solver/bindings/ruby/tests/transaction.rb Fri Jan 18 17:28:36 2008 @@ -1,5 +1,7 @@ -$: << "../../../build/bindings/ruby" +$:.unshift "../../../build/bindings/ruby" + # test Transction + require 'test/unit' require 'satsolver' -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org