summary refs log tree commit diff
diff options
context:
space:
mode:
authorScott Worley <scottworley@scottworley.com>2020-09-16 08:55:42 -0700
committerFrederik Rietdijk <fridh@fridh.nl>2020-10-25 11:01:31 +0100
commit1abfb504b12350afbf83560fc54c472b289a128c (patch)
tree2dd3953a9c4631d112940b268e43aa6a950454f1
parent19034ed7a4b2264191fdf74d462c8de09858b97c (diff)
downloadnixpkgs-1abfb504b12350afbf83560fc54c472b289a128c.tar
nixpkgs-1abfb504b12350afbf83560fc54c472b289a128c.tar.gz
nixpkgs-1abfb504b12350afbf83560fc54c472b289a128c.tar.bz2
nixpkgs-1abfb504b12350afbf83560fc54c472b289a128c.tar.lz
nixpkgs-1abfb504b12350afbf83560fc54c472b289a128c.tar.xz
nixpkgs-1abfb504b12350afbf83560fc54c472b289a128c.tar.zst
nixpkgs-1abfb504b12350afbf83560fc54c472b289a128c.zip
nixos/tests/hitch: Use curl --fail
-rw-r--r--nixos/tests/hitch/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/hitch/default.nix b/nixos/tests/hitch/default.nix
index 904d12619d7..8a2193e75f2 100644
--- a/nixos/tests/hitch/default.nix
+++ b/nixos/tests/hitch/default.nix
@@ -28,6 +28,6 @@ import ../make-test-python.nix ({ pkgs, ... }:
       machine.wait_for_unit("multi-user.target")
       machine.wait_for_unit("hitch.service")
       machine.wait_for_open_port(443)
-      assert "We are all good!" in machine.succeed("curl -k https://localhost:443/index.txt")
+      assert "We are all good!" in machine.succeed("curl -fk https://localhost:443/index.txt")
     '';
 })