nixos/tests/sslh: Use curl --fail
This commit is contained in:
parent
8a9554bf9b
commit
ebeb8d7287
|
@ -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"
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue