about summary refs log tree commit diff
path: root/nixpkgs/nixos/tests/calibre-web.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/tests/calibre-web.nix')
-rw-r--r--nixpkgs/nixos/tests/calibre-web.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixpkgs/nixos/tests/calibre-web.nix b/nixpkgs/nixos/tests/calibre-web.nix
index 4f73b3311124..0af997317fcd 100644
--- a/nixpkgs/nixos/tests/calibre-web.nix
+++ b/nixpkgs/nixos/tests/calibre-web.nix
@@ -36,7 +36,7 @@ import ./make-test-python.nix (
           default.wait_for_unit("calibre-web.service")
           default.wait_for_open_port(${toString defaultPort})
           default.succeed(
-              "curl --fail 'http://localhost:${toString defaultPort}/basicconfig' | grep -q 'Basic Configuration'"
+              "curl --fail 'http://localhost:${toString defaultPort}/basicconfig' | grep 'Basic Configuration'"
           )
 
           customized.succeed(
@@ -46,7 +46,7 @@ import ./make-test-python.nix (
           customized.wait_for_unit("calibre-web.service")
           customized.wait_for_open_port(${toString port})
           customized.succeed(
-              "curl --fail -H X-User:admin 'http://localhost:${toString port}' | grep -q test-book"
+              "curl --fail -H X-User:admin 'http://localhost:${toString port}' | grep test-book"
           )
         '';
       }