about summary refs log tree commit diff
path: root/nixos/tests/sympa.nix
diff options
context:
space:
mode:
authorScott Worley <scottworley@scottworley.com>2020-09-16 08:48:44 -0700
committerFrederik Rietdijk <fridh@fridh.nl>2020-10-25 11:01:31 +0100
commit726950775deb0e3d65d11b89163bdedfb44b0485 (patch)
treee503995834615d91d4d8bdc4b2a028fd76b3a3fc /nixos/tests/sympa.nix
parent238dbb45170e02a55d103f82abe2cfec1725b5e7 (diff)
nixos/tests/sympa: Use curl --fail
Diffstat (limited to 'nixos/tests/sympa.nix')
-rw-r--r--nixos/tests/sympa.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/sympa.nix b/nixos/tests/sympa.nix
index 280691f7cb402..eb38df180a789 100644
--- a/nixos/tests/sympa.nix
+++ b/nixos/tests/sympa.nix
@@ -30,7 +30,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
     machine.wait_for_unit("sympa.service")
     machine.wait_for_unit("wwsympa.service")
     assert "Mailing lists service" in machine.succeed(
-        "curl --insecure -L http://localhost/"
+        "curl --fail --insecure -L http://localhost/"
     )
   '';
 })