summary refs log tree commit diff
path: root/nixos/tests/wordpress.nix
diff options
context:
space:
mode:
authorScott Worley <scottworley@scottworley.com>2020-09-16 08:52:42 -0700
committerFrederik Rietdijk <fridh@fridh.nl>2020-10-25 11:01:31 +0100
commitd16e547f2e3dd220928022014d2b92b895a2f928 (patch)
treef33c7efabaf21a141251a82b5c345dc58c1f726b /nixos/tests/wordpress.nix
parent6e46a88dfbc1fb66eee67f62371b4b7dae8d2fca (diff)
downloadnixpkgs-d16e547f2e3dd220928022014d2b92b895a2f928.tar
nixpkgs-d16e547f2e3dd220928022014d2b92b895a2f928.tar.gz
nixpkgs-d16e547f2e3dd220928022014d2b92b895a2f928.tar.bz2
nixpkgs-d16e547f2e3dd220928022014d2b92b895a2f928.tar.lz
nixpkgs-d16e547f2e3dd220928022014d2b92b895a2f928.tar.xz
nixpkgs-d16e547f2e3dd220928022014d2b92b895a2f928.tar.zst
nixpkgs-d16e547f2e3dd220928022014d2b92b895a2f928.zip
nixos/tests/wordpress: Use curl --fail
Diffstat (limited to 'nixos/tests/wordpress.nix')
-rw-r--r--nixos/tests/wordpress.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/wordpress.nix b/nixos/tests/wordpress.nix
index b7449859f7e..5d740502bb5 100644
--- a/nixos/tests/wordpress.nix
+++ b/nixos/tests/wordpress.nix
@@ -40,7 +40,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
 
     with subtest("website returns welcome screen"):
         for site_name in site_names:
-            assert "Welcome to the famous" in machine.succeed(f"curl -L {site_name}")
+            assert "Welcome to the famous" in machine.succeed(f"curl -fL {site_name}")
 
     with subtest("wordpress-init went through"):
         for site_name in site_names: