about summary refs log tree commit diff
path: root/nixos/tests/limesurvey.nix
diff options
context:
space:
mode:
authorScott Worley <scottworley@scottworley.com>2020-09-16 08:48:13 -0700
committerFrederik Rietdijk <fridh@fridh.nl>2020-10-25 11:01:30 +0100
commit238dbb45170e02a55d103f82abe2cfec1725b5e7 (patch)
tree8549f124dc32ae5939803e45c0effb16d5217d99 /nixos/tests/limesurvey.nix
parent1d5130a97fa63752325e42a38565c20f61c6a9eb (diff)
nixos/tests/limesurvey: Use curl --fail
Diffstat (limited to 'nixos/tests/limesurvey.nix')
-rw-r--r--nixos/tests/limesurvey.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/limesurvey.nix b/nixos/tests/limesurvey.nix
index 7228fcb833155..dad807fb73300 100644
--- a/nixos/tests/limesurvey.nix
+++ b/nixos/tests/limesurvey.nix
@@ -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/"
     )
   '';
 })