nixos/tests/trac: Use curl --fail

This commit is contained in:
Scott Worley 2020-09-15 15:40:59 -07:00 committed by Frederik Rietdijk
parent 5e6dfb17f9
commit 0cb41a253f

View File

@ -14,6 +14,6 @@ import ./make-test-python.nix ({ pkgs, ... }: {
start_all()
machine.wait_for_unit("trac.service")
machine.wait_for_open_port(8000)
machine.wait_until_succeeds("curl -L http://localhost:8000/ | grep 'Trac Powered'")
machine.wait_until_succeeds("curl -fL http://localhost:8000/ | grep 'Trac Powered'")
'';
})