mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
nixos/tests/trac: Use curl --fail
This commit is contained in:
parent
5e6dfb17f9
commit
0cb41a253f
@ -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'")
|
||||
'';
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user