aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-07-12 17:25:28 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-07-14 17:56:54 +0300
commit7ea82c5013ab3c3d44b4b85cf767559e7019854f (patch)
tree24369f953efa5b3aa6b8b44937150f195f8f23e0 /tests
parentdb5ac510d317fc3d9c2c881257e8c6a25851ea1c (diff)
Add --cert-* rep-info command options
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test.sh b/tests/test.sh
index b630bda..5f92c7c 100755
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -1587,22 +1587,30 @@ fail rep-fetch --trust-yes # packages file signature:mismatch
test cfg-create --wipe
test rep-info --trust-no --trust $signed_fp -d $cfg $rep/auth/signed <<EOF
${repn}auth/signed `location auth/signed`
+CN=build2.org/O=Code Synthesis/info@build2.org
+$signed_fp
libfoo 1.0.0
EOF
test rep-info --trust-no -d $cfg $rep/auth/signed <<EOF
${repn}auth/signed `location auth/signed`
+CN=build2.org/O=Code Synthesis/info@build2.org
+$signed_fp
libfoo 1.0.0
EOF
test cfg-create --wipe
test rep-info --trust-yes $rep/auth/signed <<EOF
${repn}auth/signed `location auth/signed`
+CN=build2.org/O=Code Synthesis/info@build2.org
+$signed_fp
libfoo 1.0.0
EOF
fail rep-info --trust-no $rep/auth/signed <<EOF
${repn}auth/signed `location auth/signed`
+CN=build2.org/O=Code Synthesis/info@build2.org
+$signed_fp
libfoo 1.0.0
EOF