summary refs log tree commit diff
path: root/nixos/tests/upnp.nix
diff options
context:
space:
mode:
authorScott Worley <scottworley@scottworley.com>2020-09-15 23:07:45 -0700
committerFrederik Rietdijk <fridh@fridh.nl>2020-10-25 11:01:30 +0100
commite90e600ebb30368d55dc65b59756a3af92b73529 (patch)
treefc4eaab68be75f94d9ddcebcf42af926ae2b58af /nixos/tests/upnp.nix
parent416d9af81b8aaee1af51a1cdf3ddfd3a39420328 (diff)
downloadnixpkgs-e90e600ebb30368d55dc65b59756a3af92b73529.tar
nixpkgs-e90e600ebb30368d55dc65b59756a3af92b73529.tar.gz
nixpkgs-e90e600ebb30368d55dc65b59756a3af92b73529.tar.bz2
nixpkgs-e90e600ebb30368d55dc65b59756a3af92b73529.tar.lz
nixpkgs-e90e600ebb30368d55dc65b59756a3af92b73529.tar.xz
nixpkgs-e90e600ebb30368d55dc65b59756a3af92b73529.tar.zst
nixpkgs-e90e600ebb30368d55dc65b59756a3af92b73529.zip
nixos/tests/upnp: Use curl --fail
Diffstat (limited to 'nixos/tests/upnp.nix')
-rw-r--r--nixos/tests/upnp.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/upnp.nix b/nixos/tests/upnp.nix
index a7d837ea070..046c0a56b2a 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/")
     '';
 
 })