aboutsummaryrefslogtreecommitdiff
path: root/tests/loader/external/1
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-11-03 13:39:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-11-11 17:47:02 +0200
commite70163685afe5cae1ebe055a53ce353ae9cbe590 (patch)
tree8d5edf96bbe86164ec5c82feff55d2343a2e651c /tests/loader/external/1
parent1ce84922e3008cad6cf1b9056b705f2642bd3772 (diff)
Make loader loading external repository complements
Diffstat (limited to 'tests/loader/external/1')
-rw-r--r--tests/loader/external/1/basics/packages8
-rw-r--r--tests/loader/external/1/basics/repositories3
-rw-r--r--tests/loader/external/1/misc/repositories7
-rw-r--r--tests/loader/external/1/staging/packages8
-rw-r--r--tests/loader/external/1/staging/repositories3
-rw-r--r--tests/loader/external/1/testing/packages9
-rw-r--r--tests/loader/external/1/testing/repositories8
7 files changed, 43 insertions, 3 deletions
diff --git a/tests/loader/external/1/basics/packages b/tests/loader/external/1/basics/packages
new file mode 100644
index 0000000..86c20c1
--- /dev/null
+++ b/tests/loader/external/1/basics/packages
@@ -0,0 +1,8 @@
+: 1
+name: libexpat
+version: 5.1
+summary: The Expat Library
+license: MIT
+url: http://www.example.com/expat/
+email: expat-users@example.com
+location: libexpat-5.1.tar.gz
diff --git a/tests/loader/external/1/basics/repositories b/tests/loader/external/1/basics/repositories
new file mode 100644
index 0000000..9a15f2b
--- /dev/null
+++ b/tests/loader/external/1/basics/repositories
@@ -0,0 +1,3 @@
+: 1
+# Local repository manifest (this repository).
+#
diff --git a/tests/loader/external/1/misc/repositories b/tests/loader/external/1/misc/repositories
index 5128606..93acdb3 100644
--- a/tests/loader/external/1/misc/repositories
+++ b/tests/loader/external/1/misc/repositories
@@ -1,11 +1,12 @@
: 1
# Foreign repository manifest.
#
-location: http://pkg.example.org/1/misc
+location: ../basics
:
-# Foreign repository manifest.
+# Adjacent repository manifest.
#
-location: http://pkg.example.org/1/math
+location: ../testing
+role: complement
:
# Local repository manifest (this repository).
#
diff --git a/tests/loader/external/1/staging/packages b/tests/loader/external/1/staging/packages
new file mode 100644
index 0000000..86c20c1
--- /dev/null
+++ b/tests/loader/external/1/staging/packages
@@ -0,0 +1,8 @@
+: 1
+name: libexpat
+version: 5.1
+summary: The Expat Library
+license: MIT
+url: http://www.example.com/expat/
+email: expat-users@example.com
+location: libexpat-5.1.tar.gz
diff --git a/tests/loader/external/1/staging/repositories b/tests/loader/external/1/staging/repositories
new file mode 100644
index 0000000..9a15f2b
--- /dev/null
+++ b/tests/loader/external/1/staging/repositories
@@ -0,0 +1,3 @@
+: 1
+# Local repository manifest (this repository).
+#
diff --git a/tests/loader/external/1/testing/packages b/tests/loader/external/1/testing/packages
new file mode 100644
index 0000000..ac5ab95
--- /dev/null
+++ b/tests/loader/external/1/testing/packages
@@ -0,0 +1,9 @@
+: 1
+name: libmisc
+version: 1.1
+summary: The Expat Library
+license: MIT
+url: http://www.example.com/misc/
+email: misc-users@example.com
+depends: libexpat >= 5.0
+location: libmisc-1.1.tar.gz
diff --git a/tests/loader/external/1/testing/repositories b/tests/loader/external/1/testing/repositories
new file mode 100644
index 0000000..5f7246c
--- /dev/null
+++ b/tests/loader/external/1/testing/repositories
@@ -0,0 +1,8 @@
+: 1
+# Adjacent repository manifest.
+#
+location: ../staging
+role: complement
+:
+# Local repository manifest (this repository).
+#