summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBrian Olsen <brian@maven-group.org>2018-05-04 18:12:05 +0200
committerRuben Maher <ruben@maher.fyi>2018-06-29 21:35:16 +0930
commit0c883d8bcd8b5c0ec17552f5050db5ca3352c59b (patch)
tree578efc8e214efc06a71f57c70f95962d20067613 /tests
parent8a27b941bf1acec57b872ecd69e5792badab9c02 (diff)
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
Diffstat (limited to 'tests')
-rw-r--r--tests/extern.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/extern.nix b/tests/extern.nix
index b552552..30a871e 100644
--- a/tests/extern.nix
+++ b/tests/extern.nix
@@ -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");