From 695779926a60453002d6a2fb40ca764a237ec919 Mon Sep 17 00:00:00 2001 From: Robin Raymond Date: Sun, 5 Nov 2017 11:14:39 +0100 Subject: [PATCH] add test for vmail gid --- tests/intern.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/intern.nix b/tests/intern.nix index d066c24..58c4b75 100644 --- a/tests/intern.nix +++ b/tests/intern.nix @@ -33,6 +33,9 @@ import { hashedPassword = "$6$/z4n8AQl6K$kiOkBTWlZfBd7PvF5GsJ8PmPgdZsFGN1jPGZufxxr60PoR0oUsrvzm2oQiflyz5ir9fFJ.d/zKm/NgLXNUsNX/"; }; }; + + vmailGroupName = "vmail"; + vmailUIDStart = 5000; }; }; @@ -49,5 +52,9 @@ import { $machine->succeed("cat /etc/shadow | grep 'user1\@example.com:\$6\$/z4n8AQl6K\$kiOkBTWlZfBd7PvF5GsJ8PmPgdZsFGN1jPGZufxxr60PoR0oUsrvzm2oQiflyz5ir9fFJ.d/zKm/NgLXNUsNX/:1::::::'"); }; + subtest "vmail gid is set correctly", sub { + $machine->succeed("getent group vmail | grep 5000"); + }; + ''; }