From 6cd28e4f07e0d7c28c9552a80d15f31d2d5ef61c Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Tue, 15 Sep 2020 15:43:39 -0700 Subject: [PATCH] nixos/tests/mediawiki: Use curl --fail --- nixos/tests/mediawiki.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/mediawiki.nix b/nixos/tests/mediawiki.nix index 008682310cf6..702fefefa161 100644 --- a/nixos/tests/mediawiki.nix +++ b/nixos/tests/mediawiki.nix @@ -22,7 +22,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: { machine.wait_for_unit("phpfpm-mediawiki.service") - page = machine.succeed("curl -L http://localhost/") + page = machine.succeed("curl -fL http://localhost/") assert "MediaWiki has been installed" in page ''; })