diff options
author | Scott Worley <scottworley@scottworley.com> | 2020-09-16 07:54:06 -0700 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-10-25 11:01:30 +0100 |
commit | bbd1f02b162197175db58ad4c249144786f27af8 (patch) | |
tree | 29c3a5e5aee571e68dfb96b3c4368d2ceabc2e0f | |
parent | bc4f47c19a68b64dd5e8fd9e99b12e55b6189f33 (diff) | |
download | nixpkgs-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.nix | 2 |
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'" ) ''; }) |