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/"
)
'';
})