diff options
author | Scott Worley <scottworley@scottworley.com> | 2020-09-15 23:07:45 -0700 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-10-25 11:01:30 +0100 |
commit | e90e600ebb30368d55dc65b59756a3af92b73529 (patch) | |
tree | fc4eaab68be75f94d9ddcebcf42af926ae2b58af /nixos/tests | |
parent | 416d9af81b8aaee1af51a1cdf3ddfd3a39420328 (diff) |
nixos/tests/upnp: Use curl --fail
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/upnp.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/upnp.nix b/nixos/tests/upnp.nix index a7d837ea0708e..046c0a56b2a76 100644 --- a/nixos/tests/upnp.nix +++ b/nixos/tests/upnp.nix @@ -90,7 +90,7 @@ in client1.succeed("upnpc -a ${internalClient1Address} 9000 9000 TCP") client1.wait_for_unit("httpd") - client2.wait_until_succeeds("curl http://${externalRouterAddress}:9000/") + client2.wait_until_succeeds("curl -f http://${externalRouterAddress}:9000/") ''; }) |