nixos/tests/sympa: Use curl --fail

wip/yesman
Scott Worley 4 years ago committed by Frederik Rietdijk
parent 238dbb4517
commit 726950775d
  1. 2
      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/"
)
'';
})

Loading…
Cancel
Save