diff --git a/tests/repos/repo1/components.xml b/tests/repos/repo1/components.xml
new file mode 100644
index 00000000..a99ebc84
--- /dev/null
+++ b/tests/repos/repo1/components.xml
@@ -0,0 +1,48 @@
+
+
+
+ system
+ System
+ System component
+ System packages
+ system
+
+ Joe Maintainer
+ joe@pardus.org.tr
+
+
+
+ system.base
+ Base System
+ Sample Base System
+ Base System Packages
+ system
+
+ Joe Maintainer
+ joe@pardus.org.tr
+
+
+
+ util
+ FIXME
+ FIXME
+ FIXME
+ accessories
+
+ Joe Maintainer
+ joe@pardus.org.tr
+
+
+
+ util.misc
+ FIXME
+ FIXME
+ FIXME
+ accessories
+
+ Joe Maintainer
+ joe@pardus.org.tr
+
+
+
+
diff --git a/tests/repos/repo1/distribution.xml b/tests/repos/repo1/distribution.xml
new file mode 100644
index 00000000..d4d0ff5c
--- /dev/null
+++ b/tests/repos/repo1/distribution.xml
@@ -0,0 +1,10 @@
+
+ Pardus
+ 2007
+ Sample Repository 1
+ Core
+
+ wengophone
+ rar
+
+
diff --git a/tests/repos/repo1/system/base/bash/actions.py b/tests/repos/repo1/system/base/bash/actions.py
new file mode 100644
index 00000000..46cd9854
--- /dev/null
+++ b/tests/repos/repo1/system/base/bash/actions.py
@@ -0,0 +1,8 @@
+
+from pisi.actionsapi import pisitools
+
+WorkDir = "skeleton"
+
+def install():
+ pisitools.dobin("skeleton.py")
+ pisitools.rename("/usr/bin/skeleton.py", "bash")
diff --git a/tests/repos/repo1/system/base/bash/pspec.xml b/tests/repos/repo1/system/base/bash/pspec.xml
new file mode 100644
index 00000000..2139d8d2
--- /dev/null
+++ b/tests/repos/repo1/system/base/bash/pspec.xml
@@ -0,0 +1,37 @@
+
+
+
+
+ bash
+ www.pardus.org.tr
+
+ Joe Packager
+ joe@pardus.org.tr
+
+ GPL-2
+ app:gui
+ bash is a very useful package
+ bash is a very useful package that is known for its usefulness.
+ http://cekirdek.uludag.org.tr/~faik/pisi/skeleton.tar.gz
+
+
+
+ bash
+
+
+
+
+ /usr/bin
+
+
+
+
+
+ 2010-07-12
+ 0.3
+ First release
+ Joe Packager
+ joe@pardus.org.tr
+
+
+
diff --git a/tests/repos/repo1/system/base/component.xml b/tests/repos/repo1/system/base/component.xml
new file mode 100644
index 00000000..03acb241
--- /dev/null
+++ b/tests/repos/repo1/system/base/component.xml
@@ -0,0 +1,4 @@
+
+
+ system.base
+
diff --git a/tests/repos/repo1/system/base/jpeg/actions.py b/tests/repos/repo1/system/base/jpeg/actions.py
new file mode 100644
index 00000000..f9d737b1
--- /dev/null
+++ b/tests/repos/repo1/system/base/jpeg/actions.py
@@ -0,0 +1,8 @@
+
+from pisi.actionsapi import pisitools
+
+WorkDir = "skeleton"
+
+def install():
+ pisitools.dobin("skeleton.py")
+ pisitools.rename("/usr/bin/skeleton.py", "jpeg")
diff --git a/tests/repos/repo1/system/base/jpeg/pspec.xml b/tests/repos/repo1/system/base/jpeg/pspec.xml
new file mode 100644
index 00000000..a440d086
--- /dev/null
+++ b/tests/repos/repo1/system/base/jpeg/pspec.xml
@@ -0,0 +1,37 @@
+
+
+
+
+ jpeg
+ www.pardus.org.tr
+
+ Joe Packager
+ joe@pardus.org.tr
+
+ GPL-2
+ app:gui
+ jpeg is a very useful package
+ jpeg is a very useful package that is known for its usefulness.
+ http://cekirdek.uludag.org.tr/~faik/pisi/skeleton.tar.gz
+
+
+
+ jpeg
+
+
+
+
+ /usr/bin
+
+
+
+
+
+ 2010-07-12
+ 0.3
+ First release
+ Joe Packager
+ joe@pardus.org.tr
+
+
+
diff --git a/tests/repos/repo1/system/base/openssl/actions.py b/tests/repos/repo1/system/base/openssl/actions.py
new file mode 100644
index 00000000..0546ba12
--- /dev/null
+++ b/tests/repos/repo1/system/base/openssl/actions.py
@@ -0,0 +1,8 @@
+
+from pisi.actionsapi import pisitools
+
+WorkDir = "skeleton"
+
+def install():
+ pisitools.dobin("skeleton.py")
+ pisitools.rename("/usr/bin/skeleton.py", "openssl")
diff --git a/tests/repos/repo1/system/base/openssl/pspec.xml b/tests/repos/repo1/system/base/openssl/pspec.xml
new file mode 100644
index 00000000..abf6e32c
--- /dev/null
+++ b/tests/repos/repo1/system/base/openssl/pspec.xml
@@ -0,0 +1,37 @@
+
+
+
+
+ openssl
+ www.pardus.org.tr
+
+ Joe Packager
+ joe@pardus.org.tr
+
+ GPL-2
+ app:gui
+ openssl is a very useful package
+ openssl is a very useful package that is known for its usefulness.
+ http://cekirdek.uludag.org.tr/~faik/pisi/skeleton.tar.gz
+
+
+
+ openssl
+
+
+
+
+ /usr/bin
+
+
+
+
+
+ 2010-07-12
+ 0.3
+ First release
+ Joe Packager
+ joe@pardus.org.tr
+
+
+
diff --git a/tests/repos/repo1/system/component.xml b/tests/repos/repo1/system/component.xml
new file mode 100644
index 00000000..6e850894
--- /dev/null
+++ b/tests/repos/repo1/system/component.xml
@@ -0,0 +1,4 @@
+
+
+ system
+
diff --git a/tests/repos/repo1/util/component.xml b/tests/repos/repo1/util/component.xml
new file mode 100644
index 00000000..c00325f4
--- /dev/null
+++ b/tests/repos/repo1/util/component.xml
@@ -0,0 +1,3 @@
+
+ util
+
diff --git a/tests/repos/repo1/util/misc/component.xml b/tests/repos/repo1/util/misc/component.xml
new file mode 100644
index 00000000..14a07743
--- /dev/null
+++ b/tests/repos/repo1/util/misc/component.xml
@@ -0,0 +1,3 @@
+
+ util.misc
+
diff --git a/tests/repos/repo1/util/misc/dialog/actions.py b/tests/repos/repo1/util/misc/dialog/actions.py
new file mode 100644
index 00000000..710796ff
--- /dev/null
+++ b/tests/repos/repo1/util/misc/dialog/actions.py
@@ -0,0 +1,8 @@
+
+from pisi.actionsapi import pisitools
+
+WorkDir = "skeleton"
+
+def install():
+ pisitools.dobin("skeleton.py")
+ pisitools.rename("/usr/bin/skeleton.py", "dialog")
diff --git a/tests/repos/repo1/util/misc/dialog/pspec.xml b/tests/repos/repo1/util/misc/dialog/pspec.xml
new file mode 100644
index 00000000..4a385cb4
--- /dev/null
+++ b/tests/repos/repo1/util/misc/dialog/pspec.xml
@@ -0,0 +1,34 @@
+
+
+
+
+ dialog
+ www.pardus.org.tr
+
+ Joe Packager
+ joe@pardus.org.tr
+
+ GPL-2
+ app:cli
+ dialog is a very useful package
+ dialog is a very useful package that is known for its usefulness.
+ http://cekirdek.uludag.org.tr/~faik/pisi/skeleton.tar.gz
+
+
+
+ dialog
+
+ /usr/bin
+
+
+
+
+
+ 2010-07-12
+ 0.3
+ First release
+ Joe Packager
+ joe@pardus.org.tr
+
+
+