nixos/tests/upnp: Use curl --fail
This commit is contained in:
parent
416d9af81b
commit
e90e600ebb
@ -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/")
|
||||
'';
|
||||
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user