1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-23 15:37:01 +00:00
Files
go-chasquid-smtp/test
Alberto Bertogli 3aa7bb4555 test: Adjust Dockerfile to support modules
When modules are configured, go will now attempt to fetch them on build,
using the proxy.

That causes the integration tests run via Docker to fail, because go
build attempts to contact the proxy within the test environment, which
has the external DNS resolvers disabled.

This patch fixes the problem by adjusting the pre-run fetch to use the
new modules system. We fetch the dependencies to the cache so that when
they're needed within the environment, they are present and there's no
need to use the proxy.
2019-10-19 13:06:26 +01:00
..
2018-03-26 01:58:47 +01:00
2018-03-26 01:58:47 +01:00
2019-08-30 09:46:46 +01:00
2018-03-26 01:58:47 +01:00

This directory holds end to end tests, written usually in a combination of
shell and some Python 3.

They're not expected to be portable, as that gets impractical very quickly.
They also have some dependencies, listed below.


## Dependencies

The tests depend on the following things being installed on the system (listed
as Debian package, for consistency):

 - msmtp
 - util-linux (for /usr/bin/setsid)

For t-02-exim (Exim interaction tests):
 - gettext-base (for /usr/bin/envsubst)
 - The exim binary available somewhere, but it doesn't have to be installed.
   There's a script "get-exim4-debian.sh" to get it from the archives.

For some tests, python >= 3.5 is required; they will be skipped if it's not
available.