diff options
author | Robin Raymond <robin@robinraymond.de> | 2017-11-05 11:14:39 +0100 |
---|---|---|
committer | Robin Raymond <robin@robinraymond.de> | 2017-11-05 11:14:39 +0100 |
commit | 695779926a60453002d6a2fb40ca764a237ec919 (patch) | |
tree | 91bb8a54fbd96d176f9c3cc14dbf027fc670417e | |
parent | 8d9881215ba2e2a6e3f0b2a33b7906faafca56fa (diff) |
add test for vmail gidv1.1-rc3
-rw-r--r-- | tests/intern.nix | 7 |
1 files changed, 7 insertions, 0 deletions
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 <nixpkgs/nixos/tests/make-test.nix> { hashedPassword = "$6$/z4n8AQl6K$kiOkBTWlZfBd7PvF5GsJ8PmPgdZsFGN1jPGZufxxr60PoR0oUsrvzm2oQiflyz5ir9fFJ.d/zKm/NgLXNUsNX/"; }; }; + + vmailGroupName = "vmail"; + vmailUIDStart = 5000; }; }; @@ -49,5 +52,9 @@ import <nixpkgs/nixos/tests/make-test.nix> { $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"); + }; + ''; } |