[Rt-commit] rt branch 5.0/enable-smime-tests created. rt-5.0.3-24-g6dc5979908

BPS Git Server git at git.bestpractical.com
Fri Jul 22 19:32:47 UTC 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".

The branch, 5.0/enable-smime-tests has been created
        at  6dc59799081485e8edfdfd3fafee8e09e648edf3 (commit)

- Log -----------------------------------------------------------------
commit 6dc59799081485e8edfdfd3fafee8e09e648edf3
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Fri Dec 17 16:18:07 2021 -0500

    Document environment variables for Crypt tests

diff --git a/docs/hacking.pod b/docs/hacking.pod
index 15742fb759..432e201c20 100644
--- a/docs/hacking.pod
+++ b/docs/hacking.pod
@@ -214,6 +214,20 @@ running the tests in parallel.
 
     RT_TEST_PARALLEL=1 prove -l -j4 t/customfields/*.t
 
+=head2 Crypt Tests
+
+Tests for RT's GnuPG and SMIME features have some additional dependencies and
+environment variables to enable or disable tests.
+
+To run the GPG tests, you need a working C<gpg> executable of a version supported
+by L<GnuPG::Interface>. If your environment isn't set up for this, you can set
+C<SKIP_GPG_TESTS> to true to skip tests. The tests also check for C<gpg> and don't
+run if it's not found.
+
+Some of the SMIME tests access an internet resource to check certificates. This
+is disabled by default since some test systems don't have internet access. To
+run these tests, set C<RT_TEST_SMIME_REVOCATION> to true.
+
 =head2 Tests with Docker
 
 RT has a Dockerfile that can be used to run the test suite for some configurations.

commit 5f986821d2784c2fe6c25aff7e50cf50a200018f
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Fri Dec 17 16:15:50 2021 -0500

    Enable SMIME tests

diff --git a/Dockerfile b/Dockerfile
index e14f34877b..e1dce29450 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,6 +4,7 @@ FROM bpssysadmin/rt-base-debian-stretch
 
 ENV RT_TEST_PARALLEL 1
 ENV RT_TEST_DEVEL 1
+ENV RT_TEST_SMIME_REVOCATION 1
 ENV RT_DBA_USER root
 ENV RT_DBA_PASSWORD password
 ENV RT_TEST_DB_HOST=172.17.0.2

-----------------------------------------------------------------------


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list