summary refs log tree commit diff
diff options
context:
space:
mode:
authorScott Worley <scottworley@scottworley.com>2020-09-16 08:10:29 -0700
committerFrederik Rietdijk <fridh@fridh.nl>2020-10-25 11:01:30 +0100
commitba0eda6cc5cf0b8c87243dd32542aff0d2c9f109 (patch)
tree53a89971d77b1c871f85eac77ed8fbbaf987fb53
parent47fd1c535616047b792e25ce39fa86fbde2db51d (diff)
downloadnixpkgs-ba0eda6cc5cf0b8c87243dd32542aff0d2c9f109.tar
nixpkgs-ba0eda6cc5cf0b8c87243dd32542aff0d2c9f109.tar.gz
nixpkgs-ba0eda6cc5cf0b8c87243dd32542aff0d2c9f109.tar.bz2
nixpkgs-ba0eda6cc5cf0b8c87243dd32542aff0d2c9f109.tar.lz
nixpkgs-ba0eda6cc5cf0b8c87243dd32542aff0d2c9f109.tar.xz
nixpkgs-ba0eda6cc5cf0b8c87243dd32542aff0d2c9f109.tar.zst
nixpkgs-ba0eda6cc5cf0b8c87243dd32542aff0d2c9f109.zip
nixos/tests/trezord: Use curl --fail
-rw-r--r--nixos/tests/trezord.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/trezord.nix b/nixos/tests/trezord.nix
index b7b3dd31942..7c8370f409e 100644
--- a/nixos/tests/trezord.nix
+++ b/nixos/tests/trezord.nix
@@ -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")
   '';
 })