nixos/tests/sympa: Use curl --fail

gstqt5
Scott Worley 2020-09-16 08:48:44 -07:00 committed by Frederik Rietdijk
parent 238dbb4517
commit 726950775d
1 changed files with 1 additions and 1 deletions

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