tests: no ssl cert check for fetchmail
Since the certificate is autosigned, an SSL error was emitted by dovecot.
This commit is contained in:
parent
a53aa5ac9a
commit
09ca79801b
2 changed files with 11 additions and 11 deletions
|
@ -211,7 +211,7 @@ import (pkgs.path + "/nixos/tests/make-test.nix") {
|
|||
$client->succeed("cat ~/.msmtprc >&2");
|
||||
|
||||
# fetchmail returns EXIT_CODE 1 when no new mail
|
||||
$client->succeed("fetchmail -v || [ \$? -eq 1 ] >&2");
|
||||
$client->succeed("fetchmail --nosslcertck -v || [ \$? -eq 1 ] >&2");
|
||||
|
||||
# Verify that mail can be sent and received before testing virus scanner
|
||||
$client->execute("rm ~/mail/*");
|
||||
|
@ -220,7 +220,7 @@ import (pkgs.path + "/nixos/tests/make-test.nix") {
|
|||
$server->waitUntilFails('[ "$(postqueue -p)" != "Mail queue is empty" ]');
|
||||
$client->execute("rm ~/mail/*");
|
||||
# fetchmail returns EXIT_CODE 0 when it retrieves mail
|
||||
$client->succeed("fetchmail -v >&2");
|
||||
$client->succeed("fetchmail --nosslcertck -v >&2");
|
||||
$client->execute("rm ~/mail/*");
|
||||
|
||||
subtest "virus scan file", sub {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue