mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-11-11 19:39:16 +05:00
tests/extern: Fix small errors
1. The lowquota test used the wrong fetchmail username and password 2. When running interactively repeatedly mkdir fails since dir exists
This commit is contained in:
parent
8a27b941bf
commit
0c883d8bcd
@ -87,7 +87,7 @@ import <nixpkgs/nixos/tests/make-test.nix> {
|
||||
"root/.fetchmailRcLowQuota" = {
|
||||
text = ''
|
||||
poll ${serverIP} with proto IMAP
|
||||
user 'lowquota\@example.com' there with password 'user1' is 'root' here
|
||||
user 'lowquota@example.com' there with password 'user2' is 'root' here
|
||||
mda procmail
|
||||
'';
|
||||
mode = "0700";
|
||||
@ -217,7 +217,7 @@ import <nixpkgs/nixos/tests/make-test.nix> {
|
||||
$client->waitForUnit("multi-user.target");
|
||||
|
||||
$client->execute("cp -p /etc/root/.* ~/");
|
||||
$client->succeed("mkdir ~/mail");
|
||||
$client->succeed("mkdir -p ~/mail");
|
||||
$client->succeed("ls -la ~/ >&2");
|
||||
$client->succeed("cat ~/.fetchmailrc >&2");
|
||||
$client->succeed("cat ~/.procmailrc >&2");
|
||||
|
Loading…
Reference in New Issue
Block a user