mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-11-14 12:58:34 +05:00
remove tests of old userdb; fixes #51
This commit is contained in:
parent
6dd51d6e88
commit
3b9b7961d4
@ -44,14 +44,6 @@ import <nixpkgs/nixos/tests/make-test.nix> {
|
|||||||
$machine->start;
|
$machine->start;
|
||||||
$machine->waitForUnit("multi-user.target");
|
$machine->waitForUnit("multi-user.target");
|
||||||
|
|
||||||
subtest "user exists", sub {
|
|
||||||
$machine->succeed("cat /etc/shadow | grep 'user1\@example.com'");
|
|
||||||
};
|
|
||||||
|
|
||||||
subtest "password is set", sub {
|
|
||||||
$machine->succeed("cat /etc/shadow | grep 'user1\@example.com:\$6\$/z4n8AQl6K\$kiOkBTWlZfBd7PvF5GsJ8PmPgdZsFGN1jPGZufxxr60PoR0oUsrvzm2oQiflyz5ir9fFJ.d/zKm/NgLXNUsNX/:1::::::'");
|
|
||||||
};
|
|
||||||
|
|
||||||
subtest "vmail gid is set correctly", sub {
|
subtest "vmail gid is set correctly", sub {
|
||||||
$machine->succeed("getent group vmail | grep 5000");
|
$machine->succeed("getent group vmail | grep 5000");
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user