summary refs log tree commit diff
path: root/nixos/tests/mailcatcher.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/mailcatcher.nix')
-rw-r--r--nixos/tests/mailcatcher.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/mailcatcher.nix b/nixos/tests/mailcatcher.nix
index 2ef38544fe0..a55fba8a995 100644
--- a/nixos/tests/mailcatcher.nix
+++ b/nixos/tests/mailcatcher.nix
@@ -24,7 +24,7 @@ import ./make-test-python.nix ({ lib, ... }:
         'echo "this is the body of the email" | mail -s "subject" root@example.org'
     )
     assert "this is the body of the email" in machine.succeed(
-        "curl http://localhost:1080/messages/1.source"
+        "curl -f http://localhost:1080/messages/1.source"
     )
   '';
 })