summaryrefslogtreecommitdiff
path: root/swig
diff options
context:
space:
mode:
Diffstat (limited to 'swig')
-rw-r--r--swig/ruby/tests/starting.rb5
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