summaryrefslogtreecommitdiffstats
path: root/testdata/testa
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/testa')
-rw-r--r--testdata/testa/README6
-rw-r--r--testdata/testa/VERSION1
-rw-r--r--testdata/testa/media/first/media_info/MD5SUM2
-rw-r--r--testdata/testa/media/first/media_info/hdlist.czbin0 -> 1729 bytes
-rw-r--r--testdata/testa/media/first/media_info/synthesis.hdlist.czbin0 -> 180 bytes
-rw-r--r--testdata/testa/media/first/test-dep-1.0-1mdk.noarch.rpmbin0 -> 2285 bytes
-rw-r--r--testdata/testa/media/first/test-rpm-1.0-1mdk.noarch.rpmbin0 -> 2036 bytes
-rw-r--r--testdata/testa/media/first_debug/aspell-te-debug-0.60.0-1mdk.i586.rpmbin0 -> 1859 bytes
-rw-r--r--testdata/testa/media/first_src/aspell-sr-0.60.0-1mdk.src.rpmbin0 -> 578416 bytes
-rw-r--r--testdata/testa/media/first_src/aspell-te-0.60.0-1mdk.src.rpmbin0 -> 312718 bytes
-rw-r--r--testdata/testa/media/first_src/media_info/MD5SUM2
-rw-r--r--testdata/testa/media/first_src/media_info/hdlist.czbin0 -> 996 bytes
-rw-r--r--testdata/testa/media/first_src/media_info/synthesis.hdlist.czbin0 -> 113 bytes
-rw-r--r--testdata/testa/media/first_src/test-rpm-1.0-1mdk.src.rpmbin0 -> 2137 bytes
-rw-r--r--testdata/testa/media/media_info/MD5SUM9
-rw-r--r--testdata/testa/media/media_info/compss6
-rw-r--r--testdata/testa/media/media_info/depslist.ordered4
-rw-r--r--testdata/testa/media/media_info/hdlist_first.czbin0 -> 1729 bytes
-rw-r--r--testdata/testa/media/media_info/hdlist_first_src.czbin0 -> 996 bytes
-rw-r--r--testdata/testa/media/media_info/hdlist_second.czbin0 -> 64 bytes
-rw-r--r--testdata/testa/media/media_info/hdlist_second_src.czbin0 -> 1002 bytes
-rw-r--r--testdata/testa/media/media_info/hdlists4
-rw-r--r--testdata/testa/media/media_info/media.cfg30
-rw-r--r--testdata/testa/media/media_info/provides2
-rw-r--r--testdata/testa/media/media_info/synthesis.hdlist_first.czbin0 -> 180 bytes
-rw-r--r--testdata/testa/media/media_info/synthesis.hdlist_first_src.czbin0 -> 113 bytes
-rw-r--r--testdata/testa/media/media_info/synthesis.hdlist_second.czbin0 -> 20 bytes
-rw-r--r--testdata/testa/media/media_info/synthesis.hdlist_second_src.czbin0 -> 122 bytes
-rw-r--r--testdata/testa/media/second/aspell-sr-debug-0.60.0-1mdk.i586.rpmbin0 -> 1859 bytes
-rw-r--r--testdata/testa/media/second/cowsay-3.03-10mdk.noarch.rpmbin0 -> 23726 bytes
-rw-r--r--testdata/testa/media/second/media_info/MD5SUM2
-rw-r--r--testdata/testa/media/second/media_info/hdlist.czbin0 -> 64 bytes
-rw-r--r--testdata/testa/media/second/media_info/synthesis.hdlist.czbin0 -> 20 bytes
-rw-r--r--testdata/testa/media/second_src/media_info/MD5SUM2
-rw-r--r--testdata/testa/media/second_src/media_info/hdlist.czbin0 -> 1002 bytes
-rw-r--r--testdata/testa/media/second_src/media_info/synthesis.hdlist.czbin0 -> 122 bytes
-rw-r--r--testdata/testa/media/second_src/test-dep-1.0-1mdk.src.rpmbin0 -> 2213 bytes
-rw-r--r--testdata/testa/media/specs/test-dep.spec38
-rw-r--r--testdata/testa/media/specs/test-rpm.spec35
39 files changed, 143 insertions, 0 deletions
diff --git a/testdata/testa/README b/testdata/testa/README
new file mode 100644
index 0000000..d33d4ff
--- /dev/null
+++ b/testdata/testa/README
@@ -0,0 +1,6 @@
+# $Id: README 56863 2006-08-19 00:55:51Z nanardon $
+
+This directory contain a fake of distrib for testing purpose.
+
+It has some problem ! DON'T SOLVE IT !!! Problem are here to check our
+functions works !
diff --git a/testdata/testa/VERSION b/testdata/testa/VERSION
new file mode 100644
index 0000000..af3f6f8
--- /dev/null
+++ b/testdata/testa/VERSION
@@ -0,0 +1 @@
+Mandriva Linux 2006.0 Cooker-i586-Download 20051222 22:54
diff --git a/testdata/testa/media/first/media_info/MD5SUM b/testdata/testa/media/first/media_info/MD5SUM
new file mode 100644
index 0000000..997e82d
--- /dev/null
+++ b/testdata/testa/media/first/media_info/MD5SUM
@@ -0,0 +1,2 @@
+1e705dc97e078a9146e0371932b455d3 hdlist.cz
+4ad1436041ed9f8761d5448a741201ea synthesis.hdlist.cz
diff --git a/testdata/testa/media/first/media_info/hdlist.cz b/testdata/testa/media/first/media_info/hdlist.cz
new file mode 100644
index 0000000..20f37e1
--- /dev/null
+++ b/testdata/testa/media/first/media_info/hdlist.cz
Binary files differ
diff --git a/testdata/testa/media/first/media_info/synthesis.hdlist.cz b/testdata/testa/media/first/media_info/synthesis.hdlist.cz
new file mode 100644
index 0000000..b09c781
--- /dev/null
+++ b/testdata/testa/media/first/media_info/synthesis.hdlist.cz
Binary files differ
diff --git a/testdata/testa/media/first/test-dep-1.0-1mdk.noarch.rpm b/testdata/testa/media/first/test-dep-1.0-1mdk.noarch.rpm
new file mode 100644
index 0000000..1e36db6
--- /dev/null
+++ b/testdata/testa/media/first/test-dep-1.0-1mdk.noarch.rpm
Binary files differ
diff --git a/testdata/testa/media/first/test-rpm-1.0-1mdk.noarch.rpm b/testdata/testa/media/first/test-rpm-1.0-1mdk.noarch.rpm
new file mode 100644
index 0000000..6087dd2
--- /dev/null
+++ b/testdata/testa/media/first/test-rpm-1.0-1mdk.noarch.rpm
Binary files differ
diff --git a/testdata/testa/media/first_debug/aspell-te-debug-0.60.0-1mdk.i586.rpm b/testdata/testa/media/first_debug/aspell-te-debug-0.60.0-1mdk.i586.rpm
new file mode 100644
index 0000000..e9cc786
--- /dev/null
+++ b/testdata/testa/media/first_debug/aspell-te-debug-0.60.0-1mdk.i586.rpm
Binary files differ
diff --git a/testdata/testa/media/first_src/aspell-sr-0.60.0-1mdk.src.rpm b/testdata/testa/media/first_src/aspell-sr-0.60.0-1mdk.src.rpm
new file mode 100644
index 0000000..a8c9d8d
--- /dev/null
+++ b/testdata/testa/media/first_src/aspell-sr-0.60.0-1mdk.src.rpm
Binary files differ
diff --git a/testdata/testa/media/first_src/aspell-te-0.60.0-1mdk.src.rpm b/testdata/testa/media/first_src/aspell-te-0.60.0-1mdk.src.rpm
new file mode 100644
index 0000000..dc379c6
--- /dev/null
+++ b/testdata/testa/media/first_src/aspell-te-0.60.0-1mdk.src.rpm
Binary files differ
diff --git a/testdata/testa/media/first_src/media_info/MD5SUM b/testdata/testa/media/first_src/media_info/MD5SUM
new file mode 100644
index 0000000..7354f81
--- /dev/null
+++ b/testdata/testa/media/first_src/media_info/MD5SUM
@@ -0,0 +1,2 @@
+3e7761b13045a77d450800a1e209e11a hdlist.cz
+2c4193e2be0410d41881faf5a7717606 synthesis.hdlist.cz
diff --git a/testdata/testa/media/first_src/media_info/hdlist.cz b/testdata/testa/media/first_src/media_info/hdlist.cz
new file mode 100644
index 0000000..750fbb6
--- /dev/null
+++ b/testdata/testa/media/first_src/media_info/hdlist.cz
Binary files differ
diff --git a/testdata/testa/media/first_src/media_info/synthesis.hdlist.cz b/testdata/testa/media/first_src/media_info/synthesis.hdlist.cz
new file mode 100644
index 0000000..e818bd2
--- /dev/null
+++ b/testdata/testa/media/first_src/media_info/synthesis.hdlist.cz
Binary files differ
diff --git a/testdata/testa/media/first_src/test-rpm-1.0-1mdk.src.rpm b/testdata/testa/media/first_src/test-rpm-1.0-1mdk.src.rpm
new file mode 100644
index 0000000..8f3730a
--- /dev/null
+++ b/testdata/testa/media/first_src/test-rpm-1.0-1mdk.src.rpm
Binary files differ
diff --git a/testdata/testa/media/media_info/MD5SUM b/testdata/testa/media/media_info/MD5SUM
new file mode 100644
index 0000000..ba96d36
--- /dev/null
+++ b/testdata/testa/media/media_info/MD5SUM
@@ -0,0 +1,9 @@
+1e705dc97e078a9146e0371932b455d3 hdlist_first.cz
+3e7761b13045a77d450800a1e209e11a hdlist_first_src.cz
+9d492ad6ef3149568e7b835a423a7181 hdlists
+84f5daba8171f7a6215287fa7b1bb234 hdlist_second.cz
+1ea71fde296963e01b31ee6cb037f2ac hdlist_second_src.cz
+4ad1436041ed9f8761d5448a741201ea synthesis.hdlist_first.cz
+2c4193e2be0410d41881faf5a7717606 synthesis.hdlist_first_src.cz
+4232ff9fd6dda9adff98457f4dea6b9c synthesis.hdlist_second.cz
+f923d5ff044f52f35c83f9f271584260 synthesis.hdlist_second_src.cz
diff --git a/testdata/testa/media/media_info/compss b/testdata/testa/media/media_info/compss
new file mode 100644
index 0000000..65f0124
--- /dev/null
+++ b/testdata/testa/media/media_info/compss
@@ -0,0 +1,6 @@
+Application/Development
+ test-rpm
+ test-dep
+ test-rpm
+ test-dep
+
diff --git a/testdata/testa/media/media_info/depslist.ordered b/testdata/testa/media/media_info/depslist.ordered
new file mode 100644
index 0000000..c165353
--- /dev/null
+++ b/testdata/testa/media/media_info/depslist.ordered
@@ -0,0 +1,4 @@
+test-rpm-1.0-1mdk.noarch 30
+test-dep-1.0-1mdk.noarch 30 0
+test-rpm-1.0-1mdk.src 594
+test-dep-1.0-1mdk.src 683
diff --git a/testdata/testa/media/media_info/hdlist_first.cz b/testdata/testa/media/media_info/hdlist_first.cz
new file mode 100644
index 0000000..20f37e1
--- /dev/null
+++ b/testdata/testa/media/media_info/hdlist_first.cz
Binary files differ
diff --git a/testdata/testa/media/media_info/hdlist_first_src.cz b/testdata/testa/media/media_info/hdlist_first_src.cz
new file mode 100644
index 0000000..750fbb6
--- /dev/null
+++ b/testdata/testa/media/media_info/hdlist_first_src.cz
Binary files differ
diff --git a/testdata/testa/media/media_info/hdlist_second.cz b/testdata/testa/media/media_info/hdlist_second.cz
new file mode 100644
index 0000000..a534ec3
--- /dev/null
+++ b/testdata/testa/media/media_info/hdlist_second.cz
Binary files differ
diff --git a/testdata/testa/media/media_info/hdlist_second_src.cz b/testdata/testa/media/media_info/hdlist_second_src.cz
new file mode 100644
index 0000000..1540d76
--- /dev/null
+++ b/testdata/testa/media/media_info/hdlist_second_src.cz
Binary files differ
diff --git a/testdata/testa/media/media_info/hdlists b/testdata/testa/media/media_info/hdlists
new file mode 100644
index 0000000..4bcb4a2
--- /dev/null
+++ b/testdata/testa/media/media_info/hdlists
@@ -0,0 +1,4 @@
+hdlist_first.cz media/first first (3400m)
+hdlist_first_src.cz media/first_src first_src
+hdlist_second.cz media/second second
+hdlist_second_src.cz media/second_src second_src (4300m)
diff --git a/testdata/testa/media/media_info/media.cfg b/testdata/testa/media/media_info/media.cfg
new file mode 100644
index 0000000..e75cf7c
--- /dev/null
+++ b/testdata/testa/media/media_info/media.cfg
@@ -0,0 +1,30 @@
+# $Id: media.cfg 56853 2006-08-18 23:01:31Z nanardon $
+
+[media_info]
+version=2006.0
+branch=Cooker
+arch=i586
+
+[first]
+hdlist=hdlist_first.cz
+size=3400m
+srpms=first_src
+
+[first_src]
+hdlist=hdlist_first_src.cz
+rpms=first first_debug
+
+[first_debug]
+hdlist=hdlist_first_debug.cz
+srpms=first_src
+debug_for=first
+
+[second]
+hdlist=hdlist_second.cz
+srpms=second_src
+
+[second_src]
+hdlist=hdlist_second_src.cz
+size=4300m
+rpms=second
+
diff --git a/testdata/testa/media/media_info/provides b/testdata/testa/media/media_info/provides
new file mode 100644
index 0000000..83a8867
--- /dev/null
+++ b/testdata/testa/media/media_info/provides
@@ -0,0 +1,2 @@
+test-rpm@test-rpm-1.0-1mdk.noarch
+test-dep@test-dep-1.0-1mdk.noarch
diff --git a/testdata/testa/media/media_info/synthesis.hdlist_first.cz b/testdata/testa/media/media_info/synthesis.hdlist_first.cz
new file mode 100644
index 0000000..b09c781
--- /dev/null
+++ b/testdata/testa/media/media_info/synthesis.hdlist_first.cz
Binary files differ
diff --git a/testdata/testa/media/media_info/synthesis.hdlist_first_src.cz b/testdata/testa/media/media_info/synthesis.hdlist_first_src.cz
new file mode 100644
index 0000000..e818bd2
--- /dev/null
+++ b/testdata/testa/media/media_info/synthesis.hdlist_first_src.cz
Binary files differ
diff --git a/testdata/testa/media/media_info/synthesis.hdlist_second.cz b/testdata/testa/media/media_info/synthesis.hdlist_second.cz
new file mode 100644
index 0000000..3d19400
--- /dev/null
+++ b/testdata/testa/media/media_info/synthesis.hdlist_second.cz
Binary files differ
diff --git a/testdata/testa/media/media_info/synthesis.hdlist_second_src.cz b/testdata/testa/media/media_info/synthesis.hdlist_second_src.cz
new file mode 100644
index 0000000..0d639d1
--- /dev/null
+++ b/testdata/testa/media/media_info/synthesis.hdlist_second_src.cz
Binary files differ
diff --git a/testdata/testa/media/second/aspell-sr-debug-0.60.0-1mdk.i586.rpm b/testdata/testa/media/second/aspell-sr-debug-0.60.0-1mdk.i586.rpm
new file mode 100644
index 0000000..f329026
--- /dev/null
+++ b/testdata/testa/media/second/aspell-sr-debug-0.60.0-1mdk.i586.rpm
Binary files differ
diff --git a/testdata/testa/media/second/cowsay-3.03-10mdk.noarch.rpm b/testdata/testa/media/second/cowsay-3.03-10mdk.noarch.rpm
new file mode 100644
index 0000000..f61e290
--- /dev/null
+++ b/testdata/testa/media/second/cowsay-3.03-10mdk.noarch.rpm
Binary files differ
diff --git a/testdata/testa/media/second/media_info/MD5SUM b/testdata/testa/media/second/media_info/MD5SUM
new file mode 100644
index 0000000..ad4063d
--- /dev/null
+++ b/testdata/testa/media/second/media_info/MD5SUM
@@ -0,0 +1,2 @@
+84f5daba8171f7a6215287fa7b1bb234 hdlist.cz
+4232ff9fd6dda9adff98457f4dea6b9c synthesis.hdlist.cz
diff --git a/testdata/testa/media/second/media_info/hdlist.cz b/testdata/testa/media/second/media_info/hdlist.cz
new file mode 100644
index 0000000..a534ec3
--- /dev/null
+++ b/testdata/testa/media/second/media_info/hdlist.cz
Binary files differ
diff --git a/testdata/testa/media/second/media_info/synthesis.hdlist.cz b/testdata/testa/media/second/media_info/synthesis.hdlist.cz
new file mode 100644
index 0000000..3d19400
--- /dev/null
+++ b/testdata/testa/media/second/media_info/synthesis.hdlist.cz
Binary files differ
diff --git a/testdata/testa/media/second_src/media_info/MD5SUM b/testdata/testa/media/second_src/media_info/MD5SUM
new file mode 100644
index 0000000..342d2a0
--- /dev/null
+++ b/testdata/testa/media/second_src/media_info/MD5SUM
@@ -0,0 +1,2 @@
+1ea71fde296963e01b31ee6cb0123456 hdlist.cz
+f923d5ff044f52f35c83f9f271584260 synthesis.hdlist.cz
diff --git a/testdata/testa/media/second_src/media_info/hdlist.cz b/testdata/testa/media/second_src/media_info/hdlist.cz
new file mode 100644
index 0000000..1540d76
--- /dev/null
+++ b/testdata/testa/media/second_src/media_info/hdlist.cz
Binary files differ
diff --git a/testdata/testa/media/second_src/media_info/synthesis.hdlist.cz b/testdata/testa/media/second_src/media_info/synthesis.hdlist.cz
new file mode 100644
index 0000000..0d639d1
--- /dev/null
+++ b/testdata/testa/media/second_src/media_info/synthesis.hdlist.cz
Binary files differ
diff --git a/testdata/testa/media/second_src/test-dep-1.0-1mdk.src.rpm b/testdata/testa/media/second_src/test-dep-1.0-1mdk.src.rpm
new file mode 100644
index 0000000..8b09d78
--- /dev/null
+++ b/testdata/testa/media/second_src/test-dep-1.0-1mdk.src.rpm
Binary files differ
diff --git a/testdata/testa/media/specs/test-dep.spec b/testdata/testa/media/specs/test-dep.spec
new file mode 100644
index 0000000..c56756e
--- /dev/null
+++ b/testdata/testa/media/specs/test-dep.spec
@@ -0,0 +1,38 @@
+# $Id: test-dep.spec 31957 2005-12-23 00:01:00Z othauvin $
+Summary: test rpm dependencies for perl-URPM test suite
+BuildArch: noarch
+Name: test-dep
+Version: 1.0
+Release: 1mdk
+License: GPL
+Group: Application/Development
+BuildRoot: %{_tmppath}/%{name}-root
+Requires: test-rpm
+Conflicts: test-rpm
+Obsoletes: test-rpm
+
+%description
+test rpm for dependencies
+
+%prep
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT%_sysconfdir
+
+date >> $RPM_BUILD_ROOT%_sysconfdir/%name
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%config(noreplace) %_sysconfdir/%name
+
+%changelog
+* Thu Apr 22 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 1-1mdk
+- initial build
+
+
diff --git a/testdata/testa/media/specs/test-rpm.spec b/testdata/testa/media/specs/test-rpm.spec
new file mode 100644
index 0000000..3f26913
--- /dev/null
+++ b/testdata/testa/media/specs/test-rpm.spec
@@ -0,0 +1,35 @@
+# $Id: test-rpm.spec 31957 2005-12-23 00:01:00Z othauvin $
+Summary: test rpm for perl-URPM test suite
+BuildArch: noarch
+Name: test-rpm
+Version: 1.0
+Release: 1mdk
+License: GPL
+Group: Application/Development
+BuildRoot: %{_tmppath}/%{name}-root
+
+%description
+test rpm
+
+%prep
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT%_sysconfdir
+
+date >> $RPM_BUILD_ROOT%_sysconfdir/%name
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%config(noreplace) %_sysconfdir/%name
+
+%changelog
+* Thu Apr 22 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 1-1mdk
+- initial build
+
+