nixos/tests/upnp: Use curl --fail

This commit is contained in:
Scott Worley 2020-09-15 23:07:45 -07:00 committed by Frederik Rietdijk
parent 416d9af81b
commit e90e600ebb

View File

@ -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/")
'';
})