diff options
author | Scott Worley <scottworley@scottworley.com> | 2020-09-16 08:30:16 -0700 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-10-25 11:01:30 +0100 |
commit | ebeb8d72876d399e2f700e57955ea6237a01c5d5 (patch) | |
tree | a1ddc7ce034774c4b635f77edbd044f44baa7f2b /nixos | |
parent | 8a9554bf9b18c02baabea69968843c9b7c1db635 (diff) |
nixos/tests/sslh: Use curl --fail
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/sslh.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/sslh.nix b/nixos/tests/sslh.nix index 2a800aa52d0aa..17094606e8e6b 100644 --- a/nixos/tests/sslh.nix +++ b/nixos/tests/sslh.nix @@ -78,6 +78,6 @@ import ./make-test-python.nix { server.succeed(f"grep '{ip}' /tmp/foo{arg}") # check that http through sslh works - assert client.succeed(f"curl {arg} http://server:443").strip() == "hello world" + assert client.succeed(f"curl -f {arg} http://server:443").strip() == "hello world" ''; } |