nixos/tests/leaps: Use curl --fail
This commit is contained in:
parent
22f52cdb79
commit
1d5130a97f
|
@ -26,7 +26,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
|
|||
server.wait_for_open_port(6666)
|
||||
client.wait_for_unit("network.target")
|
||||
assert "leaps" in client.succeed(
|
||||
"${pkgs.curl}/bin/curl http://server:6666/leaps/"
|
||||
"${pkgs.curl}/bin/curl -f http://server:6666/leaps/"
|
||||
)
|
||||
'';
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue