aboutsummaryrefslogtreecommitdiff
path: root/tests/pkg-fetch.test
diff options
context:
space:
mode:
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