nixos/tests/hitch: Use curl --fail

This commit is contained in:
Scott Worley
2020-10-25 11:01:31 +01:00
committed by Frederik Rietdijk
parent 19034ed7a4
commit 1abfb504b1
+1 -1
View File
@@ -28,6 +28,6 @@ import ../make-test-python.nix ({ pkgs, ... }:
machine.wait_for_unit("multi-user.target")
machine.wait_for_unit("hitch.service")
machine.wait_for_open_port(443)
assert "We are all good!" in machine.succeed("curl -k https://localhost:443/index.txt")
assert "We are all good!" in machine.succeed("curl -fk https://localhost:443/index.txt")
'';
})