nixos/tests/trezord: Use curl --fail
This commit is contained in:
committed by
Frederik Rietdijk
parent
47fd1c5356
commit
ba0eda6cc5
@@ -14,6 +14,6 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
|||||||
start_all()
|
start_all()
|
||||||
machine.wait_for_unit("trezord.service")
|
machine.wait_for_unit("trezord.service")
|
||||||
machine.wait_for_open_port(21325)
|
machine.wait_for_open_port(21325)
|
||||||
machine.wait_until_succeeds("curl -L http://localhost:21325/status/ | grep Version")
|
machine.wait_until_succeeds("curl -fL http://localhost:21325/status/ | grep Version")
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user