summaryrefslogtreecommitdiffstats
path: root/layman/tests/testfiles
diff options
context:
space:
mode:
Diffstat (limited to 'layman/tests/testfiles')
-rw-r--r--layman/tests/testfiles/format-subpath-category-1.xml28
-rw-r--r--layman/tests/testfiles/format-subpath-category-2.xml31
2 files changed, 59 insertions, 0 deletions
diff --git a/layman/tests/testfiles/format-subpath-category-1.xml b/layman/tests/testfiles/format-subpath-category-1.xml
new file mode 100644
index 0000000..41ae2a9
--- /dev/null
+++ b/layman/tests/testfiles/format-subpath-category-1.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<layman>
+ <overlay
+ name="a_name"
+ contact="a_owner@example.org"
+ type="tar"
+ src="http://example.org/a.tar.bz2"
+ format="bz2"
+ category="a_cat">
+ <description>a_desc</description>
+ </overlay>
+ <overlay
+ name="b_name"
+ contact="b_owner@example.org"
+ type="tar"
+ src="http://example.org/b.tar.gz"
+ subpath="b_path">
+ <description>b_desc</description>
+ </overlay>
+ <overlay
+ name="c_name"
+ contact="c_owner@example.org"
+ type="cvs"
+ src=":pserver:username@example.org:/usr/local/cvs-repository"
+ subpath="c_path">
+ <description>c_desc</description>
+ </overlay>
+</layman>
diff --git a/layman/tests/testfiles/format-subpath-category-2.xml b/layman/tests/testfiles/format-subpath-category-2.xml
new file mode 100644
index 0000000..8b84d2d
--- /dev/null
+++ b/layman/tests/testfiles/format-subpath-category-2.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE repositories SYSTEM "/dtd/repositories.dtd">
+<repositories xmlns="" version="1.0">
+ <repo>
+ <name>a_name</name>
+ <description>a_desc</description>
+ <owner>
+ <email>a_owner@example.org</email>
+ </owner>
+ <source type="tar" format="bz2">http://example.org/a.tar.bz2</source>
+ <category>a_cat</category>
+ </repo>
+ <repo>
+ <name>b_name</name>
+ <description>b_desc</description>
+ <owner>
+ <email>b_owner@example.org</email>
+ </owner>
+ <source type="tar">http://example.org/b.tar.gz</source>
+ <subpath>b_path</subpath>
+ </repo>
+ <repo>
+ <name>c_name</name>
+ <description>c_desc</description>
+ <owner>
+ <email>c_owner@example.org</email>
+ </owner>
+ <source type="cvs">:pserver:username@example.org:/usr/local/cvs-repository</source>
+ <subpath>c_path</subpath>
+ </repo>
+</repositories>