summary refs log tree commit diff
diff options
context:
space:
mode:
authorScott Worley <scottworley@scottworley.com>2020-09-16 07:54:06 -0700
committerFrederik Rietdijk <fridh@fridh.nl>2020-10-25 11:01:30 +0100
commitbbd1f02b162197175db58ad4c249144786f27af8 (patch)
tree29c3a5e5aee571e68dfb96b3c4368d2ceabc2e0f
parentbc4f47c19a68b64dd5e8fd9e99b12e55b6189f33 (diff)
downloadnixpkgs-bbd1f02b162197175db58ad4c249144786f27af8.tar
nixpkgs-bbd1f02b162197175db58ad4c249144786f27af8.tar.gz
nixpkgs-bbd1f02b162197175db58ad4c249144786f27af8.tar.bz2
nixpkgs-bbd1f02b162197175db58ad4c249144786f27af8.tar.lz
nixpkgs-bbd1f02b162197175db58ad4c249144786f27af8.tar.xz
nixpkgs-bbd1f02b162197175db58ad4c249144786f27af8.tar.zst
nixpkgs-bbd1f02b162197175db58ad4c249144786f27af8.zip
nixos/tests/hound: Use curl --fail
-rw-r--r--nixos/tests/hound.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/hound.nix b/nixos/tests/hound.nix
index 27c65abdf27..b8b10022bd9 100644
--- a/nixos/tests/hound.nix
+++ b/nixos/tests/hound.nix
@@ -53,7 +53,7 @@ import ./make-test-python.nix ({ pkgs, ... } : {
     machine.wait_for_unit("hound.service")
     machine.wait_for_open_port(6080)
     machine.wait_until_succeeds(
-        "curl http://127.0.0.1:6080/api/v1/search\?stats\=fosho\&repos\=\*\&rng=%3A20\&q\=hi\&files\=\&i=nope | grep 'Filename' | grep 'hello'"
+        "curl -f http://127.0.0.1:6080/api/v1/search\?stats\=fosho\&repos\=\*\&rng=%3A20\&q\=hi\&files\=\&i=nope | grep 'Filename' | grep 'hello'"
     )
   '';
 })