mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 08:39:08 +03:00
nixos/tests/mediawiki: Use curl --fail
This commit is contained in:
parent
0cb41a253f
commit
6cd28e4f07
@ -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
|
||||
'';
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user