0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

nixos/tests/limesurvey: Use curl --fail

This commit is contained in:
Scott Worley 2020-09-16 08:48:13 -07:00 committed by Frederik Rietdijk
parent 1d5130a97f
commit 238dbb4517

View file

@ -20,7 +20,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
machine.wait_for_unit("phpfpm-limesurvey.service")
assert "The following surveys are available" in machine.succeed(
"curl http://example.local/"
"curl -f http://example.local/"
)
'';
})