nixos/tests/sympa: Use curl --fail
This commit is contained in:
parent
238dbb4517
commit
726950775d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue