--- /dev/null
+<channel>
+ <subchannel>
+ <package>
+ <name>foo</name>
+ <summary>A fake summary</summary>
+ <description>A fake description</description>
+ <section>misc</section>
+ <arch>s390</arch>
+ <history>
+ <update>
+ <hid>12345</hid>
+ <version>2.0</version>
+ <release>1</release>
+ <filename>foo.rpm</filename>
+ <filesize>123</filesize>
+ <installedsize>456</installedsize>
+ <md5sum>0f55f36a3240858038a281911605024e</md5sum>
+ </update>
+ </history>
+ </package>
+ </subchannel>
+</channel>
\ No newline at end of file
--- /dev/null
+<channel>
+ <subchannel>
+ <package>
+ <name>foo</name>
+ <summary>A fake summary</summary>
+ <description>A fake description</description>
+ <section>misc</section>
+ <arch>i386</arch>
+ <history>
+ <update>
+ <hid>12345</hid>
+ <version>1.0</version>
+ <release>1</release>
+ <filename>foo.rpm</filename>
+ <filesize>123</filesize>
+ <installedsize>456</installedsize>
+ <md5sum>0f55f36a3240858038a281911605024e</md5sum>
+ </update>
+ </history>
+ </package>
+ </subchannel>
+</channel>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0"?>
+<test>
+<setup>
+ <system file="other-architect-system.xml"/>
+ <channel name="test" file="other-architect-packages.xml"/>
+</setup>
+
+<!-- Can't install foo since it is does not apply to this system. -->
+<!-- RESOLVER_INFO_TYPE_INSTALL_UNNEEDED should be returnd -->
+<!-- Currently no error will be returned and foo with wrong arch will be -->
+<!-- installed -->
+
+<trial>
+ <install channel="test" package="foo"/>
+ <reportproblems/>
+</trial>
+
+</test>