nixos/tests/sympa: Use curl --fail

This commit is contained in:
Scott Worley 2020-09-16 08:48:44 -07:00 committed by Frederik Rietdijk
parent 238dbb4517
commit 726950775d

View file

@ -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/"
)
'';
})