From 0c883d8bcd8b5c0ec17552f5050db5ca3352c59b Mon Sep 17 00:00:00 2001 From: Brian Olsen Date: Fri, 4 May 2018 18:12:05 +0200 Subject: [PATCH] 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 --- tests/extern.nix | 4 ++-- 1 file 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 { "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 { $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");