From 0cb41a253f20510752d1b6d43dd675989f4f7f62 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Tue, 15 Sep 2020 15:40:59 -0700 Subject: [PATCH] nixos/tests/trac: Use curl --fail --- nixos/tests/trac.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/trac.nix b/nixos/tests/trac.nix index 7953f8d41f7..af7182d1e18 100644 --- a/nixos/tests/trac.nix +++ b/nixos/tests/trac.nix @@ -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'") ''; })