nixos/tests/unit-php: Use curl --fail
This commit is contained in:
parent
726950775d
commit
6e46a88dfb
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ in {
|
|||
machine.wait_for_unit("unit.service")
|
||||
|
||||
# Check so we get an evaluated PHP back
|
||||
response = machine.succeed("curl -vvv -s http://127.0.0.1:9074/")
|
||||
response = machine.succeed("curl -f -vvv -s http://127.0.0.1:9074/")
|
||||
assert "PHP Version ${pkgs.unit.usedPhp74.version}" in response, "PHP version not detected"
|
||||
|
||||
# Check so we have database and some other extensions loaded
|
||||
|
|
Loading…
Reference in a new issue