mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 04:02:10 +00:00
nixos/tests/hitch: Use curl --fail
This commit is contained in:
parent
19034ed7a4
commit
1abfb504b1
|
@ -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")
|
||||
'';
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue