--- /dev/null
+<?xml version="1.0"?>
+<!--
+ load patch data from armstrong.suse.de
+-->
+<test>
+<setup>
+ <arch name="i586"/>
+ <system file="patchA-installed.xml"/>
+ <channel file="patchB-new.xml" name="new_source"/>
+</setup>
+<trial>
+ <install channel="new_source" kind="patch" package="patch-B1"/>
+ <reportproblems/>
+</trial>
+</test>
--- /dev/null
+<channel><subchannel>
+<package>
+ <name>A</name>
+ <summary>A fake package</summary>
+ <description>A fake package</description>
+ <section>misc</section>
+ <history>
+ <update>
+ <hid>12345</hid>
+ <arch>i586</arch>
+ <epoch>0</epoch>
+ <version>1.0</version>
+ <release>1</release>
+ <filename>foo.bar</filename>
+ <filesize>123</filesize>
+ <installedsize>234</installedsize>
+ <md5sum>0f55f36a3240858038a281911605024e</md5sum>
+ <importance>suggested</importance>
+ <description>Yggdrasil Linux</description>
+ </update>
+ </history>
+</package>
+<patch>
+ <name>patch-A1</name>
+ <arch>noarch</arch>
+ <version>1</version>
+ <release>0</release>
+ <requires>
+ <dep kind="atom" name="A" op="=" version="1.0" release="1"/>
+ </requires>
+</patch>
+<atom>
+ <name>A</name>
+ <arch>i586</arch>
+ <version>1.0</version>
+ <release>1</release>
+ <freshens>
+ <dep kind="package" name="A"/>
+ </freshens>
+ <requires>
+ <dep kind="package" name="A" op="=" version="1.0" release="1"/>
+ </requires>
+</atom>
+</subchannel></channel>
--- /dev/null
+<channel><subchannel>
+<package>
+ <name>A</name>
+ <summary>A fake package</summary>
+ <description>A fake package</description>
+ <section>misc</section>
+ <history>
+ <update>
+ <hid>12345</hid>
+ <arch>i586</arch>
+ <epoch>0</epoch>
+ <version>2.0</version>
+ <release>1</release>
+ <filename>foo.bar</filename>
+ <filesize>123</filesize>
+ <installedsize>234</installedsize>
+ <md5sum>0f55f36a3240858038a281911605024e</md5sum>
+ <importance>suggested</importance>
+ <description>Yggdrasil Linux</description>
+ </update>
+ </history>
+</package>
+<patch>
+ <name>patch-B1</name>
+ <arch>noarch</arch>
+ <version>1</version>
+ <release>0</release>
+ <requires>
+ <dep kind="atom" name="A" op="=" version="2.0" release="1"/>
+ </requires>
+</patch>
+<atom>
+ <name>A</name>
+ <arch>i586</arch>
+ <version>2.0</version>
+ <release>1</release>
+ <freshens>
+ <dep kind="package" name="A"/>
+ </freshens>
+ <requires>
+ <dep kind="package" name="A" op="=" version="2.0" release="1"/>
+ </requires>
+</atom>
+</subchannel></channel>