aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-10-10 08:12:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-10-10 08:12:50 +0200
commit4e3faacbc3c27e1d01ca95697b34db82cdecdb9d (patch)
tree5144d4bddbb376318fcaf20dafa0c391ddce93b1 /tests
parent803acc23f8cea3079681e9e624702e104adfd775 (diff)
Implement --replace|-r mode for pkg-fetch
Diffstat (limited to 'tests')
-rw-r--r--tests/repository/1/fetch/libfoo-1.0.0.tar.gzbin0 -> 348 bytes
-rw-r--r--tests/repository/1/fetch/libfoo-1.1.0.tar.gzbin0 -> 349 bytes
-rw-r--r--tests/repository/1/fetch/libfoo-1.1.0/build/bootstrap.build2
-rw-r--r--tests/repository/1/fetch/libfoo-1.1.0/buildfile1
-rw-r--r--tests/repository/1/fetch/libfoo-1.1.0/manifest7
-rw-r--r--tests/repository/1/fetch/repositories1
l---------tests/repository/1/fetch/t1/libfoo-1.0.0.tar.gz1
l---------tests/repository/1/fetch/t1/libfoo-1.1.0.tar.gz1
l---------tests/repository/1/fetch/t1/repositories1
-rw-r--r--tests/repository/1/satisfy/libfoo-1.1.0/build/bootstrap.build2
10 files changed, 15 insertions, 1 deletions
diff --git a/tests/repository/1/fetch/libfoo-1.0.0.tar.gz b/tests/repository/1/fetch/libfoo-1.0.0.tar.gz
new file mode 100644
index 0000000..28a6a90
--- /dev/null
+++ b/tests/repository/1/fetch/libfoo-1.0.0.tar.gz
Binary files differ
diff --git a/tests/repository/1/fetch/libfoo-1.1.0.tar.gz b/tests/repository/1/fetch/libfoo-1.1.0.tar.gz
new file mode 100644
index 0000000..e03481f
--- /dev/null
+++ b/tests/repository/1/fetch/libfoo-1.1.0.tar.gz
Binary files differ
diff --git a/tests/repository/1/fetch/libfoo-1.1.0/build/bootstrap.build b/tests/repository/1/fetch/libfoo-1.1.0/build/bootstrap.build
new file mode 100644
index 0000000..54f267e
--- /dev/null
+++ b/tests/repository/1/fetch/libfoo-1.1.0/build/bootstrap.build
@@ -0,0 +1,2 @@
+project = fetch-libfoo
+using config
diff --git a/tests/repository/1/fetch/libfoo-1.1.0/buildfile b/tests/repository/1/fetch/libfoo-1.1.0/buildfile
new file mode 100644
index 0000000..b3ec74f
--- /dev/null
+++ b/tests/repository/1/fetch/libfoo-1.1.0/buildfile
@@ -0,0 +1 @@
+.:
diff --git a/tests/repository/1/fetch/libfoo-1.1.0/manifest b/tests/repository/1/fetch/libfoo-1.1.0/manifest
new file mode 100644
index 0000000..3453757
--- /dev/null
+++ b/tests/repository/1/fetch/libfoo-1.1.0/manifest
@@ -0,0 +1,7 @@
+: 1
+name: libfoo
+version: 1.1.0
+summary: libfoo
+license: MIT
+url: http://example.org
+email: pkg@example.org
diff --git a/tests/repository/1/fetch/repositories b/tests/repository/1/fetch/repositories
new file mode 100644
index 0000000..5b70556
--- /dev/null
+++ b/tests/repository/1/fetch/repositories
@@ -0,0 +1 @@
+: 1
diff --git a/tests/repository/1/fetch/t1/libfoo-1.0.0.tar.gz b/tests/repository/1/fetch/t1/libfoo-1.0.0.tar.gz
new file mode 120000
index 0000000..32e5a3c
--- /dev/null
+++ b/tests/repository/1/fetch/t1/libfoo-1.0.0.tar.gz
@@ -0,0 +1 @@
+../libfoo-1.0.0.tar.gz \ No newline at end of file
diff --git a/tests/repository/1/fetch/t1/libfoo-1.1.0.tar.gz b/tests/repository/1/fetch/t1/libfoo-1.1.0.tar.gz
new file mode 120000
index 0000000..c004b2a
--- /dev/null
+++ b/tests/repository/1/fetch/t1/libfoo-1.1.0.tar.gz
@@ -0,0 +1 @@
+../libfoo-1.1.0.tar.gz \ No newline at end of file
diff --git a/tests/repository/1/fetch/t1/repositories b/tests/repository/1/fetch/t1/repositories
new file mode 120000
index 0000000..d965b15
--- /dev/null
+++ b/tests/repository/1/fetch/t1/repositories
@@ -0,0 +1 @@
+../repositories \ No newline at end of file
diff --git a/tests/repository/1/satisfy/libfoo-1.1.0/build/bootstrap.build b/tests/repository/1/satisfy/libfoo-1.1.0/build/bootstrap.build
index eb90fee..b24ee6a 100644
--- a/tests/repository/1/satisfy/libfoo-1.1.0/build/bootstrap.build
+++ b/tests/repository/1/satisfy/libfoo-1.1.0/build/bootstrap.build
@@ -1,2 +1,2 @@
-project = libfoo
+project = satisfy-libfoo
using config