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
1 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ import <nixpkgs/nixos/tests/make-test.nix> {
|
||||||
"root/.fetchmailRcLowQuota" = {
|
"root/.fetchmailRcLowQuota" = {
|
||||||
text = ''
|
text = ''
|
||||||
poll ${serverIP} with proto IMAP
|
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
|
mda procmail
|
||||||
'';
|
'';
|
||||||
mode = "0700";
|
mode = "0700";
|
||||||
|
@ -217,7 +217,7 @@ import <nixpkgs/nixos/tests/make-test.nix> {
|
||||||
$client->waitForUnit("multi-user.target");
|
$client->waitForUnit("multi-user.target");
|
||||||
|
|
||||||
$client->execute("cp -p /etc/root/.* ~/");
|
$client->execute("cp -p /etc/root/.* ~/");
|
||||||
$client->succeed("mkdir ~/mail");
|
$client->succeed("mkdir -p ~/mail");
|
||||||
$client->succeed("ls -la ~/ >&2");
|
$client->succeed("ls -la ~/ >&2");
|
||||||
$client->succeed("cat ~/.fetchmailrc >&2");
|
$client->succeed("cat ~/.fetchmailrc >&2");
|
||||||
$client->succeed("cat ~/.procmailrc >&2");
|
$client->succeed("cat ~/.procmailrc >&2");
|
||||||
|
|
Loading…
Reference in a new issue