aboutsummaryrefslogtreecommitdiff
path: root/tests/pkg-fetch.test
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-03-05 16:49:24 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-03-05 17:25:16 +0300
commit22e35bf80cea95dc1edce22e729199f61a6fedcd (patch)
treee8b00be480a8a1b57641f23e1f7d09fb0a8bad1a /tests/pkg-fetch.test
parentcdbc374bc16ed0db1a4a206064bb090ac935d89d (diff)
Add .manifest extension to repositories, packages and signature files
Diffstat (limited to 'tests/pkg-fetch.test')
-rw-r--r--tests/pkg-fetch.test12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/pkg-fetch.test b/tests/pkg-fetch.test
index 34d3397..a63bfbb 100644
--- a/tests/pkg-fetch.test
+++ b/tests/pkg-fetch.test
@@ -9,11 +9,11 @@
# pkg-fetch
# |-- hello
# | |-- libhello-1.0.0.tar.gz
-# | `-- repositories
+# | `-- repositories.manifest
# `-- t1
# |-- libfoo-1.0.0.tar.gz
# |-- libfoo-1.1.0.tar.gz
-# `-- repositories
+# `-- repositories.manifest
# Prepare repositories used by tests if running in the local mode.
#
@@ -23,12 +23,14 @@
# Create the signed 'hello' repository.
#
cp -r $src/hello $out/hello
- cat <<<$cert_manifest >+$out/hello/repositories
- $rep_create --key $key $out/hello &$out/hello/packages &$out/hello/signature
+ cat <<<$cert_manifest >+$out/hello/repositories.manifest
+
+ $rep_create --key $key $out/hello &$out/hello/packages.manifest \
+ &$out/hello/signature.manifest
# Create the 't1' repository.
#
- cp -r $src/t1 $out/t1 && $rep_create $out/t1 &$out/t1/packages
+ cp -r $src/t1 $out/t1 && $rep_create $out/t1 &$out/t1/packages.manifest
end
pkg_purge += -d cfg