mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
nixos/tests/sympa: Use curl --fail
This commit is contained in:
parent
238dbb4517
commit
726950775d
@ -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 New Issue
Block a user