nixos/tests/mediawiki: Use curl --fail
Scott Worley 5 years ago 6cd28e4f 0cb41a25
··· 22 22 23 23 machine.wait_for_unit("phpfpm-mediawiki.service") 24 24 25 25 - page = machine.succeed("curl -L http://localhost/") 25 25 + page = machine.succeed("curl -fL http://localhost/") 26 26 assert "MediaWiki has been installed" in page 27 27 ''; 28 28 })