diff options
author | Klaus Kämpf <kkaempf@suse.de> | 2010-11-07 21:56:07 +0100 |
---|---|---|
committer | Klaus Kämpf <kkaempf@suse.de> | 2010-11-07 21:56:07 +0100 |
commit | 3633140b427f5ed62de80994192197a6ac3fddd2 (patch) | |
tree | 5e15b47869504673d64153918e1928cdf2968140 /swig | |
parent | 3a59dae44d4dd8407239e4e04f44a36ee9bdaadc (diff) | |
download | libzypp-bindings-3633140b427f5ed62de80994192197a6ac3fddd2.tar.gz libzypp-bindings-3633140b427f5ed62de80994192197a6ac3fddd2.tar.bz2 libzypp-bindings-3633140b427f5ed62de80994192197a6ac3fddd2.zip |
Test the refactored Arch in conjunction with ZConfig
Diffstat (limited to 'swig')
-rw-r--r-- | swig/ruby/tests/starting.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/swig/ruby/tests/starting.rb b/swig/ruby/tests/starting.rb index be7bfed..4d96404 100644 --- 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 |