diff options
author | Scott Worley <scottworley@scottworley.com> | 2020-09-16 07:44:27 -0700 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-10-25 11:01:30 +0100 |
commit | e9c61e813abd0c32c5579f8976222edd038969f3 (patch) | |
tree | ce98fc552a9ac5d4d1fb038251ab70b27eae21fb /nixos/tests | |
parent | e90e600ebb30368d55dc65b59756a3af92b73529 (diff) |
nixos/tests/mailcatcher: Use curl --fail
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/mailcatcher.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/mailcatcher.nix b/nixos/tests/mailcatcher.nix index 2ef38544fe0a3..a55fba8a9950b 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" ) ''; }) |