diff options
author | Scott Worley <scottworley@scottworley.com> | 2020-09-16 08:47:48 -0700 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-10-25 11:01:30 +0100 |
commit | 1d5130a97fa63752325e42a38565c20f61c6a9eb (patch) | |
tree | dac3a3d537139555a875c93ccacffb59b9fa00b2 /nixos/tests | |
parent | 22f52cdb797da094ba46ba3fb7be22b3394aad9f (diff) |
nixos/tests/leaps: Use curl --fail
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/leaps.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/leaps.nix b/nixos/tests/leaps.nix index ac0c602d44504..ec5b69a76290f 100644 --- a/nixos/tests/leaps.nix +++ b/nixos/tests/leaps.nix @@ -26,7 +26,7 @@ import ./make-test-python.nix ({ pkgs, ... }: server.wait_for_open_port(6666) client.wait_for_unit("network.target") assert "leaps" in client.succeed( - "${pkgs.curl}/bin/curl http://server:6666/leaps/" + "${pkgs.curl}/bin/curl -f http://server:6666/leaps/" ) ''; }) |