3
0
Fork 0
forked from mirrors/nixpkgs

nixos/tests/trezord: Use curl --fail

This commit is contained in:
Scott Worley 2020-09-16 08:10:29 -07:00 committed by Frederik Rietdijk
parent 47fd1c5356
commit ba0eda6cc5

View file

@ -14,6 +14,6 @@ import ./make-test-python.nix ({ pkgs, ... }: {
start_all()
machine.wait_for_unit("trezord.service")
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")
'';
})