about summary refs log tree commit diff
path: root/nixos/tests/shiori.nix
diff options
context:
space:
mode:
authortalyz <kim.lindberger@gmail.com>2021-06-05 15:50:58 +0200
committertalyz <kim.lindberger@gmail.com>2021-06-05 18:44:54 +0200
commit3d9c3e5cfd8705b03a175ef40f6eeaa9a16634ff (patch)
tree69f57ede899503635b6b17fea23e6f0a976c9991 /nixos/tests/shiori.nix
parenta86853501a339f95765a6763e9c409f374606faa (diff)
nixosTests.*: Don't use the `-q` flag with grep when used with curl
The `-q` flag makes grep close the pipe early, which curl doesn't
handle gracefully, but exits with an error like "(23) Failed writing
body".
Diffstat (limited to 'nixos/tests/shiori.nix')
-rw-r--r--nixos/tests/shiori.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/shiori.nix b/nixos/tests/shiori.nix
index a5771262c6f27..418bee43c9394 100644
--- a/nixos/tests/shiori.nix
+++ b/nixos/tests/shiori.nix
@@ -28,7 +28,7 @@ import ./make-test-python.nix ({ pkgs, lib, ...}:
     machine.wait_for_unit("shiori.service")
     machine.wait_for_open_port(8080)
     machine.succeed("curl --fail http://localhost:8080/")
-    machine.succeed("curl --fail --location http://localhost:8080/ | grep -qi shiori")
+    machine.succeed("curl --fail --location http://localhost:8080/ | grep -i shiori")
 
     with subtest("login"):
         auth_json = machine.succeed(