aboutsummaryrefslogtreecommitdiff
path: root/tests/auth.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-09-04 14:02:11 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-09-04 14:02:11 +0300
commitf8fdb500cc705e2b8b4a74166ceb2c6d8cee3fd3 (patch)
tree3f94b0b79ebad275904b9dc4a4165326ff598492 /tests/auth.testscript
parentf727c2b8fe273a12d059826291523060dab4b512 (diff)
Rename .test/test{} to .testscript/testscript{}
Diffstat (limited to 'tests/auth.testscript')
-rw-r--r--tests/auth.testscript23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/auth.testscript b/tests/auth.testscript
new file mode 100644
index 0000000..06886db
--- /dev/null
+++ b/tests/auth.testscript
@@ -0,0 +1,23 @@
+# file : tests/auth.testscript
+# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+# OpenSSL passwordless private key.
+#
+key = $src_base/auth/key.pem
+
+# Repository certificate generated with the above private key.
+#
+cert = $src_base/auth/default-cert.pem
+
+# Repository certificate fingerprint.
+#
++set cert_fp <<<$src_base/auth/default-cert-fp
+
+# Manifest certificate name/value. Can be appended to the repositories.manifest
+# file to sign the repository.
+#
+cert_manifest = $~/cert-manifest
++echo 'certificate: \' >=$cert_manifest
++cat <<<$cert >+$cert_manifest
++echo '\' >+$cert_manifest