add test for vmail gid
This commit is contained in:
parent
8d9881215b
commit
695779926a
1 changed files with 7 additions and 0 deletions
|
@ -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");
|
||||
};
|
||||
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue