diff options
author | Julien Moutinho <julm+nixpkgs@sourcephile.fr> | 2022-11-02 00:50:31 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-06-04 13:09:28 +0000 |
commit | 50301d73e9250276693e19e96013bd25799331b9 (patch) | |
tree | 4eafcf5f60009b09471ce42f15f70256775e3a2a /nixos | |
parent | 4fdd015c769c72adf92f85df7b0db427e6b17f6d (diff) |
public-inbox: 1.8.0 -> 1.9.0
Co-authored-by: Alyssa Ross <hi@alyssa.is>
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/public-inbox.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/tests/public-inbox.nix b/nixos/tests/public-inbox.nix index 232a688e221de..784ef9e3dc28e 100644 --- a/nixos/tests/public-inbox.nix +++ b/nixos/tests/public-inbox.nix @@ -14,7 +14,7 @@ in meta.maintainers = with pkgs.lib.maintainers; [ julm ]; - machine = { config, pkgs, nodes, ... }: let + nodes.machine = { config, pkgs, nodes, ... }: let inherit (config.services) gitolite public-inbox; # Git repositories paths in Gitolite. # Only their baseNameOf is used for configuring public-inbox. @@ -221,7 +221,7 @@ in # Delete a mail. # Note that the use of an extension not listed in the addresses # require to use --all - machine.succeed("curl -L https://machine.example.localdomain/inbox/repo1/repo1@root-1/raw | sudo -u public-inbox public-inbox-learn rm --all") - machine.fail("curl -L https://machine.example.localdomain/inbox/repo1/repo1@root-1/T/#u | grep 'This is a testing mail.'") + machine.succeed("curl -L https://machine.${domain}/inbox/repo1/repo1@root-1/raw | sudo -u public-inbox public-inbox-learn rm --all") + machine.fail("curl -L https://machine.${domain}/inbox/repo1/repo1@root-1/T/#u | grep 'This is a testing mail.'") ''; }) |