projects
/
platform
/
upstream
/
libzypp-bindings.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a59dae
)
Test the refactored Arch in conjunction with ZConfig
author
Klaus Kämpf
<kkaempf@suse.de>
Sun, 7 Nov 2010 20:56:07 +0000
(21:56 +0100)
committer
Klaus Kämpf
<kkaempf@suse.de>
Sun, 7 Nov 2010 20:56:07 +0000
(21:56 +0100)
swig/ruby/tests/starting.rb
patch
|
blob
|
history
diff --git
a/swig/ruby/tests/starting.rb
b/swig/ruby/tests/starting.rb
index
be7bfed
..
4d96404
100644
(file)
--- a/
swig/ruby/tests/starting.rb
+++ b/
swig/ruby/tests/starting.rb
@@
-13,5
+13,10
@@
class LoadTest < Test::Unit::TestCase
require 'zypp'
zypp = Zypp::ZYppFactory::instance.get_zypp
assert zypp
+ zconfig = Zypp::ZConfig::instance
+ assert zconfig
+ puts zconfig.system_architecture
+ zconfig.set_system_architecture(Zypp::Arch.new("i686"))
+ puts zconfig.system_architecture
end
end