flake.nix: Update NixOS release to 25.11
This commit is contained in:
parent
95d920ae67
commit
54f84355ee
8 changed files with 22 additions and 20 deletions
|
|
@ -32,7 +32,7 @@ with (import ./common/lib.nix {inherit pkgs;}); let
|
|||
};
|
||||
};
|
||||
in
|
||||
pkgs.nixosTest {
|
||||
pkgs.testers.nixosTest {
|
||||
name = "aliases";
|
||||
nodes = {
|
||||
server = {pkgs, ...}: {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ with (import ./common/lib.nix {inherit pkgs;}); let
|
|||
};
|
||||
};
|
||||
in
|
||||
pkgs.nixosTest {
|
||||
pkgs.testers.nixosTest {
|
||||
name = "basic";
|
||||
nodes = {
|
||||
server = {pkgs, ...}: {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{pkgs, ...}:
|
||||
pkgs.nixosTest {
|
||||
pkgs.testers.nixosTest {
|
||||
name = "internal";
|
||||
nodes.machine = {...}: {
|
||||
imports = [./common/server.nix];
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ with (import ./common/lib.nix {inherit pkgs;}); let
|
|||
domains
|
||||
);
|
||||
in
|
||||
pkgs.nixosTest {
|
||||
pkgs.testers.nixosTest {
|
||||
name = "rspamd";
|
||||
nodes = {
|
||||
server = {pkgs, ...}: {
|
||||
|
|
@ -151,12 +151,12 @@ in
|
|||
server.wait_until_fails('${pendingPostqueue}')
|
||||
|
||||
client.succeed("${test-mark-spam "normal2"} >&2")
|
||||
server.wait_until_succeeds("journalctl -u dovecot2 | grep -i learn-spam.sh >&2")
|
||||
server.fail("journalctl -u dovecot2 | grep -i learn-spam.sh | grep -i error >&2")
|
||||
server.wait_until_succeeds("journalctl -u dovecot | grep -i learn-spam.sh >&2")
|
||||
server.fail("journalctl -u dovecot | grep -i learn-spam.sh | grep -i error >&2")
|
||||
|
||||
client.succeed("${test-mark-ham "normal2"} >&2")
|
||||
server.wait_until_succeeds("journalctl -u dovecot2 | grep -i learn-ham.sh >&2")
|
||||
server.fail("journalctl -u dovecot2 | grep -i learn-ham.sh | grep -i error >&2")
|
||||
server.wait_until_succeeds("journalctl -u dovecot | grep -i learn-ham.sh >&2")
|
||||
server.fail("journalctl -u dovecot | grep -i learn-ham.sh | grep -i error >&2")
|
||||
|
||||
with subtest("dkim signing"):
|
||||
client.succeed("${sendMail "normal2" "" accounts."normal".address ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue